Commit 6063e83d authored by mercury233's avatar mercury233 Committed by DailyShana

fix (#1903)

parent 0e7a5dc8
...@@ -14,7 +14,7 @@ void GetParameter(char* param, const char* arg) { ...@@ -14,7 +14,7 @@ void GetParameter(char* param, const char* arg) {
MultiByteToWideChar(CP_ACP, 0, arg, -1, arg1, 260); MultiByteToWideChar(CP_ACP, 0, arg, -1, arg1, 260);
BufferIO::EncodeUTF8(arg1, param); BufferIO::EncodeUTF8(arg1, param);
#else #else
strcpy(param, arg1); strcpy(param, arg);
#endif #endif
} }
void GetParameterW(wchar_t* param, const char* arg) { void GetParameterW(wchar_t* param, const char* arg) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment