summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/latency/WinCEClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/demo/IceE/latency/WinCEClient.cpp')
-rwxr-xr-xcppe/demo/IceE/latency/WinCEClient.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/cppe/demo/IceE/latency/WinCEClient.cpp b/cppe/demo/IceE/latency/WinCEClient.cpp
index 32be87d5648..29c54d943f7 100755
--- a/cppe/demo/IceE/latency/WinCEClient.cpp
+++ b/cppe/demo/IceE/latency/WinCEClient.cpp
@@ -14,7 +14,7 @@ using namespace std;
using namespace Demo;
static HWND editHwnd;
-static bool wmDestroy = false;
+static bool wmDestroy = false;
static LRESULT CALLBACK
WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
@@ -45,7 +45,7 @@ WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
DestroyWindow(hWnd);
break;
- case WM_DESTROY:
+ case WM_DESTROY:
wmDestroy = true;
PostQuitMessage(0);
break;
@@ -155,19 +155,19 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmd
ping->ice_ping();
if((i % 100) == 0)
{
- ::SendMessage(editHwnd, EM_REPLACESEL, (WPARAM)FALSE, (LPARAM)L".");
- //
- // Run the message pump just in case the user tries to close the app.
- //
- MSG Msg;
- while(PeekMessage(&Msg, NULL, 0, 0, PM_REMOVE))
- {
- TranslateMessage(&Msg);
- DispatchMessage(&Msg);
- }
- if(wmDestroy)
- {
- break;
+ ::SendMessage(editHwnd, EM_REPLACESEL, (WPARAM)FALSE, (LPARAM)L".");
+ //
+ // Run the message pump just in case the user tries to close the app.
+ //
+ MSG Msg;
+ while(PeekMessage(&Msg, NULL, 0, 0, PM_REMOVE))
+ {
+ TranslateMessage(&Msg);
+ DispatchMessage(&Msg);
+ }
+ if(wmDestroy)
+ {
+ break;
}
}
}