Commit 61812083 authored by mercury233's avatar mercury233 Committed by GitHub

minor typos (#2890)

parent 0f73f228
......@@ -162,7 +162,6 @@ public:
}
else
return 0;
}
};
......
......@@ -13,7 +13,7 @@
#include <windows.h>
#include <ws2tcpip.h>
#if defined(_MSC_VER) or defined(__MINGW32__)
#if defined(_MSC_VER) || defined(__MINGW32__)
#define mywcsncasecmp _wcsnicmp
#define mystrncasecmp _strnicmp
#else
......
......@@ -739,7 +739,6 @@ void DuelClient::HandleSTOCPacketLan(unsigned char* data, int len) {
starttime = new_replay.pheader.base.start_time;
else
starttime = new_replay.pheader.base.seed;
wchar_t timetext[40];
std::wcsftime(timetext, sizeof timetext / sizeof timetext[0], L"%Y-%m-%d %H-%M-%S", std::localtime(&starttime));
mainGame->ebRSName->setText(timetext);
......
......@@ -157,7 +157,7 @@ if GetParam("no-dxsdk") then
end
if USE_DXSDK and os.istarget("windows") then
if not os.getenv("DXSDK_DIR") then
print("DXSDK_DIR environment variable not set, it seems you don't have the DirectX SDK installed. DirectX mode will be disabled.")
print("Warning: DXSDK_DIR environment variable not set, it seems you don't have the DirectX SDK installed. DirectX mode will be disabled.")
USE_DXSDK = false
end
end
......
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