Skip to content

Commit

Permalink
Revert "How did this ever work?"
Browse files Browse the repository at this point in the history
This reverts commit 04d299a.
  • Loading branch information
Parlane committed Apr 11, 2013
1 parent 04d299a commit 2c51b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 2c51b34

Please sign in to comment.