iexplore: Avoid a TRUE:FALSE conditional expression.
This commit is contained in:
parent
7c365e35ab
commit
d45070d48f
|
@ -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);
|
HWND hwndurl = GetDlgItem(hwnd, IDC_BROWSE_OPEN_URL);
|
||||||
int len = GetWindowTextLengthW(hwndurl);
|
int len = GetWindowTextLengthW(hwndurl);
|
||||||
|
|
||||||
EnableWindow(GetDlgItem(hwnd, IDOK), len ? TRUE : FALSE);
|
EnableWindow(GetDlgItem(hwnd, IDOK), len != 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case IDOK:
|
case IDOK:
|
||||||
|
|
Loading…
Reference in New Issue