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:
parent
b8881b0059
commit
49c2c46341
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user