iexplore: Avoid a TRUE:FALSE conditional expression.

oldstable
Michael Stefaniuc 2012-08-13 11:44:06 +02:00 committed by Alexandre Julliard
parent 7c365e35ab
commit d45070d48f
1 changed files with 1 additions and 1 deletions

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: