summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-24 20:58:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-24 20:58:58 +0300
commited4897b7ef69e862806a8c07f1fd475262d0c36e (patch)
tree414efc6365f455122956eac74b754505c8efaf15 /src/mir_core
parent99893bf3aec9f4e9f0c4844c0987d129e1778c7e (diff)
massive warning fix
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/winver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/winver.cpp b/src/mir_core/src/winver.cpp
index 47a83b62c1..3ca4636057 100644
--- a/src/mir_core/src/winver.cpp
+++ b/src/mir_core/src/winver.cpp
@@ -342,7 +342,7 @@ MIR_CORE_DLL(BOOL) GetOSDisplayString(wchar_t *buf, size_t bufSize)
HMODULE hNtDll = GetModuleHandleA("ntdll.dll");
if (WGV wine_get_version = (WGV)GetProcAddress(hNtDll, "wine_get_version"))
{
- ret.AppendFormat(L" (Wine %s)", _A2T(wine_get_version()));
+ ret.AppendFormat(L" (Wine %S)", wine_get_version());
}
mir_wstrncpy(buf, ret, bufSize);