Alexandre Julliard : view: Don't use windowsx.h.
Alexandre Julliard
julliard at winehq.org
Mon Jan 23 13:01:10 CST 2012
Module: wine
Branch: master
Commit: d4989906bd48a58957ef63ec4bbe7d422b7a60e6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4989906bd48a58957ef63ec4bbe7d422b7a60e6
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jan 23 12:07:35 2012 +0100
view: Don't use windowsx.h.
---
programs/view/view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/view/view.c b/programs/view/view.c
index 535df7f..824f9e1 100644
--- a/programs/view/view.c
+++ b/programs/view/view.c
@@ -17,7 +17,7 @@
*/
#include <windows.h>
-#include <windowsx.h>
+#include <commdlg.h>
#include "resource.h"
#include <stdio.h>
@@ -230,7 +230,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT uMessage, WPARAM wparam, LPARAM
break;
case WM_COMMAND: /* message: command from application menu */
- switch (GET_WM_COMMAND_ID(wparam,lparam))
+ switch (LOWORD(wparam))
{
case IDM_OPEN:
{
More information about the wine-cvs
mailing list