Commit d45070d4 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

iexplore: Avoid a TRUE:FALSE conditional expression.

parent 7c365e35
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment