mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +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;
|
||||
}
|
||||
@ -383,7 +383,7 @@ void OutputMessageImpl(const char * msg, va_list args)
|
||||
|
||||
SetConsoleTextAttribute(hstdout, csb_before.wAttributes);
|
||||
#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);
|
||||
puts("");
|
||||
#endif
|
||||
@ -406,7 +406,7 @@ void OutputErrorImpl(const char * msg, va_list args)
|
||||
|
||||
SetConsoleTextAttribute(hstdout, csb_before.wAttributes);
|
||||
#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);
|
||||
puts("");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user