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
OutputDebugStringA(string);
#else
printf("%s", string);
vprintf(string, args);
#endif
#endif
rc = -1;