iexplore: Avoid a TRUE:FALSE conditional expression.

This commit is contained in:
Michael Stefaniuc 2012-08-13 11:44:06 +02:00 committed by Alexandre Julliard
parent 7c365e35ab
commit d45070d48f

View File

@ -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: