1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00

Linux build fixes.

This commit is contained in:
Julian Storer 2010-03-15 15:03:31 +00:00
parent 188299adb9
commit 34201bf815
4 changed files with 10 additions and 10 deletions

View file

@ -101,7 +101,7 @@ public:
}
StringArray fontDirs;
fontDirs.addTokens (String (getenv ("JUCE_FONT_PATH")), T(";,"), 0);
fontDirs.addTokens (String::fromUTF8 (getenv ("JUCE_FONT_PATH")), ";,", String::empty);
fontDirs.removeEmptyStrings (true);
if (fontDirs.size() == 0)
@ -521,7 +521,7 @@ static const String pickBestFont (const StringArray& names,
const char* const choicesString)
{
StringArray choices;
choices.addTokens (String (choicesString), T(","), 0);
choices.addTokens (String (choicesString), ",", String::empty);
choices.trim();
choices.removeEmptyStrings();