mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
fix: CLogger's ELogMethod is now inside the class and does not use names that are vulnerable to macro destruction (fixes a conflict with Windows system header's #define ERROR)
This was SVN commit r5532.
This commit is contained in:
@@ -52,7 +52,7 @@ CConsole::CConsole()
|
||||
shared_ptr<u8> buf; size_t size;
|
||||
if ( g_VFS->LoadFile("gui/text/help.txt", buf, size) < 0 )
|
||||
{
|
||||
LOG( ERROR,"Console", "Help file not found for console" );
|
||||
LOG(CLogger::Error, "Console", "Help file not found for console");
|
||||
return;
|
||||
}
|
||||
// TODO: read in text mode, or at least get rid of the \r\n somehow
|
||||
|
||||
Reference in New Issue
Block a user