From 2c51b34f3c65e1fdd8200b37deca68253308164e Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Fri, 12 Apr 2013 00:45:06 +1200 Subject: [PATCH] Revert "How did this ever work?" This reverts commit 04d299a418e655e40d7f07f7f8e82bd991e0ad6d. --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp index fa4c98dac26f..a6025d523e3e 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp @@ -681,7 +681,7 @@ char* DecodeError(int ErrorCode) // (And of course, free the buffer when we were done with it) FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_MAX_WIDTH_MASK, NULL, ErrorCode, - MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPSTR)Message, 1024, NULL); + MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPWSTR)Message, 1024, NULL); return Message; #else return strerror(ErrorCode);