summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/latency/WinCEClient.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-05-04 15:44:49 +0000
committerBernard Normier <bernard@zeroc.com>2007-05-04 15:44:49 +0000
commit389d3a4fb71243e279b984a68cd5c6837f4f6bd2 (patch)
tree35358d06e8b683621e366048a2973e327b21821d /cppe/demo/IceE/latency/WinCEClient.cpp
parentBacked out endpoint stringification (diff)
downloadice-389d3a4fb71243e279b984a68cd5c6837f4f6bd2.tar.bz2
ice-389d3a4fb71243e279b984a68cd5c6837f4f6bd2.tar.xz
ice-389d3a4fb71243e279b984a68cd5c6837f4f6bd2.zip
Removed ^M
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;
}
}
}