mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Demos: Use correct string encoding
This commit is contained in:
parent
f68ee25b52
commit
ba62771d0e
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue