Michael Stefaniuc : sane.ds: Don't compare with TRUE.

Alexandre Julliard julliard at winehq.org
Mon Oct 3 17:21:24 CDT 2011


Module: wine
Branch: master
Commit: 43b7a0db48465a5af15f60558435f2e3db531be0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=43b7a0db48465a5af15f60558435f2e3db531be0

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Sat Oct  1 21:42:21 2011 +0200

sane.ds: Don't compare with TRUE.

---

 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)




More information about the wine-cvs mailing list