Commit 751f869f authored by Drake Arconis's avatar Drake Arconis
Browse files

Fix font loading when running under debugger

parent b6b306f9
......@@ -1106,12 +1106,12 @@ std::string LLFontGL::getFontPathLocal()
// Backup files if we can't load from system fonts directory.
// We could store this in an end-user writable directory to allow
// end users to switch fonts.
if (LLFontGL::sAppDir.length())
{
// use specified application dir to look for fonts
local_path = LLFontGL::sAppDir + "/fonts/";
}
else
//if (LLFontGL::sAppDir.length())
//{
// // use specified application dir to look for fonts
// local_path = LLFontGL::sAppDir + "/fonts/";
//}
//else
{
// assume working directory is executable directory
local_path = "./fonts/";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment