Fix fonts search path on not-Windows.
This commit is contained in:
@@ -1644,9 +1644,9 @@ static const std::string font_dir()
|
|||||||
{
|
{
|
||||||
return gDirUtilp->getExecutableDir()
|
return gDirUtilp->getExecutableDir()
|
||||||
#if LL_DARWIN
|
#if LL_DARWIN
|
||||||
+ "../Resources/"
|
+ "/../Resources"
|
||||||
#elif !defined(LL_WINDOWS)
|
#elif !defined(LL_WINDOWS)
|
||||||
+ "../"
|
+ "/.."
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user