sane.ds: Don't compare with TRUE.

Michael Stefaniuc mstefani at redhat.de
Sat Oct 1 14:42:21 CDT 2011


---
 dlls/sane.ds/ui.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/sane.ds/ui.c b/dlls/sane.ds/ui.c
index 5d4cd83..d57376e 100644
--- a/dlls/sane.ds/ui.c
+++ b/dlls/sane.ds/ui.c
@@ -994,7 +994,7 @@ static INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
                 switch (((NMHDR*)lParam)->code)
                 {
                     case PSN_APPLY:
-                        if (psn->lParam == TRUE)
+                        if (psn->lParam)
                         {
                             activeDS.currentState = 6;
                             if (activeDS.windowMessage)
-- 
1.7.4.4



More information about the wine-patches mailing list