From c05ea50ae5c0d7e4ae6d57d11deda4beda5a3a13 Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Tue, 17 May 2011 05:14:58 -0500 Subject: [PATCH] taskmgr: Remove all TCHAR macro usage in graph drawing code. --- programs/taskmgr/graph.c | 6 +++--- programs/taskmgr/graphctl.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/taskmgr/graph.c b/programs/taskmgr/graph.c index 84a73073ca9..bc37498e05c 100644 --- a/programs/taskmgr/graph.c +++ b/programs/taskmgr/graph.c @@ -439,7 +439,7 @@ Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) hdc = BeginPaint(hWnd, &ps); - WindowId = GetWindowLongPtr(hWnd, GWLP_ID); + WindowId = GetWindowLongPtrW(hWnd, GWLP_ID); switch (WindowId) { @@ -459,9 +459,9 @@ Graph_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) return 0; } - + /* * We pass on all non-handled messages */ - return CallWindowProc((WNDPROC)OldGraphWndProc, hWnd, message, wParam, lParam); + return CallWindowProcW(OldGraphWndProc, hWnd, message, wParam, lParam); } diff --git a/programs/taskmgr/graphctl.c b/programs/taskmgr/graphctl.c index 2fe2a296874..c5395d50124 100644 --- a/programs/taskmgr/graphctl.c +++ b/programs/taskmgr/graphctl.c @@ -622,5 +622,5 @@ GraphCtrl_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) /* * We pass on all non-handled messages */ - return CallWindowProc((WNDPROC)OldGraphCtrlWndProc, hWnd, message, wParam, lParam); + return CallWindowProcW(OldGraphCtrlWndProc, hWnd, message, wParam, lParam); }