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

Fix for recursion in exception logger.

This commit is contained in:
jules 2012-11-04 16:45:57 +00:00
parent f862392da8
commit 45209b7946

View file

@ -49,7 +49,7 @@ void Logger::writeToLog (const String& message)
void JUCE_API logAssertion (const char* const filename, const int lineNum) noexcept
{
String m ("JUCE Assertion failure in ");
m << File (filename).getFileName() << ':' << lineNum;
m << File::createFileWithoutCheckingPath (filename).getFileName() << ':' << lineNum;
Logger::writeToLog (m);
}