mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
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);
|
||||
int len = GetWindowTextLengthW(hwndurl);
|
||||
|
||||
EnableWindow(GetDlgItem(hwnd, IDOK), len ? TRUE : FALSE);
|
||||
EnableWindow(GetDlgItem(hwnd, IDOK), len != 0);
|
||||
break;
|
||||
}
|
||||
case IDOK:
|
||||
|
Loading…
Reference in New Issue
Block a user