1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 03:18:26 -06:00

Window: Solve Unicode issues in GUI (e.g. Chinese text not always displayed correctly) by using Unicode API for dialogs and window message handling.

This commit is contained in:
Mounir IDRASSI
2015-09-20 17:24:09 +02:00
parent 03de885b13
commit d98367f53b
5 changed files with 72 additions and 72 deletions

View File

@@ -154,13 +154,13 @@ extern "C" BOOL ComServerFormat ()
return FALSE;
MSG msg;
while (int r = GetMessage (&msg, NULL, 0, 0))
while (int r = GetMessageW (&msg, NULL, 0, 0))
{
if (r == -1)
return FALSE;
TranslateMessage (&msg);
DispatchMessage (&msg);
DispatchMessageW (&msg);
if (msg.message == WM_APP
&& ObjectCount < 1

Binary file not shown.