Fixed updater's logging codepage.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user