scott mc <scottmc2@xxxxxxxxx> wrote: > Looks like I've started using finddir and find_directory just in > time, > the patch I made for tuxpaint uses it to find the fonts directory on > haiku: > http://ports.haiku-files.org/browser/haikuports/trunk/media-> > gfx/tuxpaint/patches/tuxpaint-0.9.21.patch > This might turn up issues on other ports if the directories were hard > coded, so we'll keep an eye out for them and if we find any they will > need to be updated to use find_directory as well. Besides some indenting problems, the patch also doesn't check for "result", which doesn't sound like a good thing. Also, you're leaving out the B_USER_FONTS_DIRECTORY. But the direction itself is appreciated :-) Bye, Axel.