Fixed updater's logging codepage.

This commit is contained in:
2025-05-09 14:55:53 +03:00
parent 75b31b5489
commit 3f646683aa
2 changed files with 6 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
// wCenterWindow
// wCenterWindow
// updater.h
#include "wCenterWindow.h"
@@ -49,7 +49,7 @@ UINT WINAPI Updater(void*) {
it = obj.find("message"), it2;
if (it != obj.end()) {
std::string u = (*it).second.get<std::string>();
logger.Out(L"[UPDT] %s(%d): Error! The url is %s", TEXT(__FUNCTION__), __LINE__, u);
logger.Out(L"[UPDT] %s(%d): Error! The url is %S", TEXT(__FUNCTION__), __LINE__, u);
return 102;
_endthreadex(102);
}