diff options
Diffstat (limited to 'src/Format/FormatCom.cpp')
-rw-r--r-- | src/Format/FormatCom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Format/FormatCom.cpp b/src/Format/FormatCom.cpp index cc7d2082..aac5ae7e 100644 --- a/src/Format/FormatCom.cpp +++ b/src/Format/FormatCom.cpp @@ -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
|