Fix fonts search path on not-Windows.

This commit is contained in:
Router Gray
2019-05-24 06:20:14 -05:00
parent 3951f6f516
commit 40ad9fad32

View File

@@ -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
; ;
} }