mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1208906 - Fix a conditional statement in nsNativeThemeWin::GetThemePartAndState; r=roc
Found by Viva64.
This commit is contained in:
parent
15ab99b3de
commit
49baf1fe2c
@ -921,7 +921,7 @@ nsNativeThemeWin::GetThemePartAndState(nsIFrame* aFrame, uint8_t aWidgetType,
|
||||
} else {
|
||||
if (GetCheckedOrSelected(aFrame, !isCheckbox)) {
|
||||
inputState = CHECKED;
|
||||
} if (isCheckbox && GetIndeterminate(aFrame)) {
|
||||
} else (isCheckbox && GetIndeterminate(aFrame)) {
|
||||
inputState = INDETERMINATE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user