forked from mirrors/0ad
Automatically convert all CLogger format strings from wchar_t* to char*.
Done with: ag -ls 'LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR)' source | xargs sed -i 's/LOG\(MESSAGE\|MESSAGERENDER\|WARNING\|ERROR\)(L/LOG\1(/g' This was SVN commit r16183.
This commit is contained in:
@@ -94,7 +94,7 @@ CDebuggingServer::CDebuggingServer() :
|
||||
m_SettingBreakOnException = true;
|
||||
|
||||
EnableHTTP();
|
||||
LOGWARNING(L"Javascript debugging webserver enabled.");
|
||||
LOGWARNING("Javascript debugging webserver enabled.");
|
||||
}
|
||||
|
||||
CDebuggingServer::~CDebuggingServer()
|
||||
@@ -396,7 +396,7 @@ void* CDebuggingServer::MgDebuggingServerCallback(mg_event event, struct mg_conn
|
||||
|
||||
case MG_EVENT_LOG:
|
||||
// Called by Mongoose's cry()
|
||||
LOGERROR(L"Mongoose error: %hs", request_info->log_message);
|
||||
LOGERROR("Mongoose error: %hs", request_info->log_message);
|
||||
return NULL;
|
||||
|
||||
case MG_INIT_SSL:
|
||||
|
||||
Reference in New Issue
Block a user