projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c365e3
)
iexplore: Avoid a TRUE:FALSE conditional expression.
author
Michael Stefaniuc
<mstefani@redhat.de>
Mon, 13 Aug 2012 09:44:06 +0000
(11:44 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 14 Aug 2012 09:59:35 +0000
(11:59 +0200)
dlls/ieframe/iexplore.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ieframe/iexplore.c
b/dlls/ieframe/iexplore.c
index
00150a4
..
6c66aef
100644
(file)
--- a/
dlls/ieframe/iexplore.c
+++ b/
dlls/ieframe/iexplore.c
@@
-363,7
+363,7
@@
static INT_PTR CALLBACK ie_dialog_open_proc(HWND hwnd, UINT msg, WPARAM wparam,
HWND hwndurl = GetDlgItem(hwnd, IDC_BROWSE_OPEN_URL);
int len = GetWindowTextLengthW(hwndurl);
- EnableWindow(GetDlgItem(hwnd, IDOK), len
? TRUE : FALSE
);
+ EnableWindow(GetDlgItem(hwnd, IDOK), len
!= 0
);
break;
}
case IDOK: