Correct font path for Haiku.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1667 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2010-12-21 12:06:05 +00:00
parent 65ede7dd91
commit 243c9192c5

View File

@ -345,11 +345,14 @@ void Init_text(void)
#ifndef NOTTF
For_each_file( "FONTS:_TrueType", Add_font );
#endif
#elif defined(__BEOS__) || defined(__HAIKU__)
#elif defined(__BEOS__)
#ifndef NOTTF
For_each_file("/etc/fonts/ttfonts", Add_font);
#endif
#elif defined(__HAIKU__)
#ifndef NOTTF
For_each_file("/boot/system/data/fonts/ttfonts/", Add_font);
#endif
#elif defined(__SKYOS__)
#ifndef NOTTF
For_each_file("/boot/system/fonts", Add_font);