Fix debug messages with arguments on linux
This commit is contained in:
parent
9098ad6486
commit
5844d47d9f
|
@ -142,7 +142,7 @@ int debugPrint(const char* format, ...)
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
OutputDebugStringA(string);
|
OutputDebugStringA(string);
|
||||||
#else
|
#else
|
||||||
printf("%s", string);
|
vprintf(string, args);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
rc = -1;
|
rc = -1;
|
||||||
|
|
Loading…
Reference in New Issue