mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 04:03:49 +01:00
Fixed the encoding of the culture-dependent DNS resolver error messages (Windows)
This commit is contained in:
1 parent
e2f6b36a19
commit
7b91e0d626
1 file changed
+2
-1
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "Common/Log.h"
|
||||
#include "Common/TimeUtil.h"
|
||||
#include "Common/Data/Encoding/Utf8.h"
|
||||
|
||||
#ifndef HTTPS_NOT_AVAILABLE
|
||||
#include "ext/naett/naett.h"
|
||||
@@ -109,7 +110,7 @@ bool DNSResolve(const std::string &host, const std::string &service, addrinfo **
|
||||
|
||||
if (result != 0) {
|
||||
#ifdef _WIN32
|
||||
error = gai_strerrorA(result);
|
||||
error = ConvertWStringToUTF8(gai_strerror(result));
|
||||
#else
|
||||
error = gai_strerror(result);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user