1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Remove extraneous character from printf inside the logger under linux.

This commit is contained in:
Sandu Liviu Catalin 2016-03-27 18:56:26 +03:00
parent b8881b0059
commit 49c2c46341

View File

@ -103,7 +103,7 @@ inline Uint16 GetLevelColor(Uint8 type)
/* ------------------------------------------------------------------------------------------------ /* ------------------------------------------------------------------------------------------------
* ... * ...
*/ */
inline CCStr GetLevelColor(Uint8 type) inline CCStr GetLevelColor(Uint8 /*type*/)
{ {
return g_EmptyStr; return g_EmptyStr;
} }
@ -383,7 +383,7 @@ void OutputMessageImpl(const char * msg, va_list args)
SetConsoleTextAttribute(hstdout, csb_before.wAttributes); SetConsoleTextAttribute(hstdout, csb_before.wAttributes);
#else #else
printf("%c[0;32m[SQMOD]%c[0;37m", 27, 27, msg); printf("%c[0;32m[SQMOD]%c[0;37m", 27, 27);
vprintf(msg, args); vprintf(msg, args);
puts(""); puts("");
#endif #endif
@ -406,7 +406,7 @@ void OutputErrorImpl(const char * msg, va_list args)
SetConsoleTextAttribute(hstdout, csb_before.wAttributes); SetConsoleTextAttribute(hstdout, csb_before.wAttributes);
#else #else
printf("%c[0;32m[SQMOD]%c[0;37m", 27, 27, msg); printf("%c[0;32m[SQMOD]%c[0;37m", 27, 27);
vprintf(msg, args); vprintf(msg, args);
puts(""); puts("");
#endif #endif