mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Windows: Fix error formatting with % signs.
This commit is contained in:
parent
dd6886aa38
commit
9eccea2d5e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ const char *GetStringErrorMsg(int errCode) {
|
|||
err_strw, buff_size, NULL);
|
||||
|
||||
static __declspec(thread) char err_str[buff_size] = {};
|
||||
snprintf(err_str, buff_size, ConvertWStringToUTF8(err_strw).c_str());
|
||||
snprintf(err_str, buff_size, "%s", ConvertWStringToUTF8(err_strw).c_str());
|
||||
#else
|
||||
static __thread char err_str[buff_size] = {};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue