We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a75c0e commit 58fa670Copy full SHA for 58fa670
src/core/modules/core/core.cpp
@@ -33,12 +33,11 @@
33
34
void ConsoleMessage(const char* msg)
35
{
36
- // Ensure all formatting specifiers are escaped to prevent a crash (fix for issue #275).
37
- char* pMsg = (char*) extract<char *>(str(msg).replace("%", "%%"));
+ char* pMsg = (char*) msg;
38
int iLen = strlen(msg);
39
40
while(iLen > 0) {
41
- ConMsg(pMsg);
+ ConMsg("%s", pMsg);
42
pMsg += MAX_CON_MSG-1;
43
iLen -= MAX_CON_MSG-1;
44
}
0 commit comments