mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-11 10:59:56 -05: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:
1 parent
03de885b13
commit
d98367f53b
5 files changed
+72
-72
No files matched your search
@@ -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.
Reference in new issue
Block a user