From d45070d48faf4a0e1d88c46734b8f584156c6195 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 13 Aug 2012 11:44:06 +0200 Subject: [PATCH] iexplore: Avoid a TRUE:FALSE conditional expression. --- dlls/ieframe/iexplore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ieframe/iexplore.c b/dlls/ieframe/iexplore.c index 00150a44b8f..6c66aef2117 100644 --- 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: