From 0c7ab1870093938cf316ceb465d2f2e2ee19e35e Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sun, 27 Mar 2016 20:50:40 +0300 Subject: [PATCH] Remove extraneous character from printf inside the INI module. --- modules/ini/Module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ini/Module.cpp b/modules/ini/Module.cpp index 215e7e83..bbecb42f 100644 --- a/modules/ini/Module.cpp +++ b/modules/ini/Module.cpp @@ -295,7 +295,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 @@ -318,7 +318,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