Correct font path for Haiku.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1667 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
65ede7dd91
commit
243c9192c5
@ -345,11 +345,14 @@ void Init_text(void)
|
|||||||
#ifndef NOTTF
|
#ifndef NOTTF
|
||||||
For_each_file( "FONTS:_TrueType", Add_font );
|
For_each_file( "FONTS:_TrueType", Add_font );
|
||||||
#endif
|
#endif
|
||||||
#elif defined(__BEOS__) || defined(__HAIKU__)
|
#elif defined(__BEOS__)
|
||||||
#ifndef NOTTF
|
#ifndef NOTTF
|
||||||
For_each_file("/etc/fonts/ttfonts", Add_font);
|
For_each_file("/etc/fonts/ttfonts", Add_font);
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(__HAIKU__)
|
||||||
|
#ifndef NOTTF
|
||||||
|
For_each_file("/boot/system/data/fonts/ttfonts/", Add_font);
|
||||||
|
#endif
|
||||||
#elif defined(__SKYOS__)
|
#elif defined(__SKYOS__)
|
||||||
#ifndef NOTTF
|
#ifndef NOTTF
|
||||||
For_each_file("/boot/system/fonts", Add_font);
|
For_each_file("/boot/system/fonts", Add_font);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user