Fix debug messages with arguments on linux

This commit is contained in:
Jan Šimek 2022-06-16 15:25:34 +02:00
parent 9098ad6486
commit 5844d47d9f
1 changed files with 1 additions and 1 deletions

View File

@ -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;