mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
macOS: Be explicit about string encodings when logging assertions
This commit is contained in:
parent
67093bfe10
commit
be1e3df4d0
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ void Logger::writeToLog (const String& message)
|
|||
void JUCE_API JUCE_CALLTYPE logAssertion (const char* const filename, const int lineNum) noexcept
|
||||
{
|
||||
String m ("JUCE Assertion failure in ");
|
||||
m << File::createFileWithoutCheckingPath (filename).getFileName() << ':' << lineNum;
|
||||
m << File::createFileWithoutCheckingPath (CharPointer_UTF8 (filename)).getFileName() << ':' << lineNum;
|
||||
|
||||
#if JUCE_LOG_ASSERTIONS
|
||||
Logger::writeToLog (m);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue