diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-09-20 17:24:09 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-09-26 17:43:51 +0200 |
commit | d98367f53b9a1268845d68cde1d02bd6ca35f213 (patch) | |
tree | bbd7ac1182187edcae0d4af015fded01bfb60b2d /src/Mount/MainCom.cpp | |
parent | 03de885b133fe7355a1d758ad91cf374132f516f (diff) | |
download | VeraCrypt-d98367f53b9a1268845d68cde1d02bd6ca35f213.tar.gz VeraCrypt-d98367f53b9a1268845d68cde1d02bd6ca35f213.zip |
Window: Solve Unicode issues in GUI (e.g. Chinese text not always displayed correctly) by using Unicode API for dialogs and window message handling.
Diffstat (limited to 'src/Mount/MainCom.cpp')
-rw-r--r-- | src/Mount/MainCom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mount/MainCom.cpp b/src/Mount/MainCom.cpp index 67fd5d25..c810e3ea 100644 --- a/src/Mount/MainCom.cpp +++ b/src/Mount/MainCom.cpp @@ -209,13 +209,13 @@ extern "C" BOOL ComServerMain () 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
|