1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Demos: Use correct string encoding

This commit is contained in:
reuk 2021-02-19 16:34:47 +00:00
parent f68ee25b52
commit ba62771d0e

View file

@ -59,7 +59,7 @@ inline File getExamplesDirectory() noexcept
return mo.toString();
#elif defined PIP_JUCE_EXAMPLES_DIRECTORY_STRING
return File { PIP_JUCE_EXAMPLES_DIRECTORY_STRING };
return File { CharPointer_UTF8 { PIP_JUCE_EXAMPLES_DIRECTORY_STRING } };
#else
auto currentFile = File::getSpecialLocation (File::SpecialLocationType::currentApplicationFile);
auto exampleDir = currentFile.getParentDirectory().getChildFile ("examples");