Bug 1208906 - Fix a conditional statement in nsNativeThemeWin::GetThemePartAndState; r=roc

Found by Viva64.
This commit is contained in:
Ehsan Akhgari 2015-09-27 17:34:30 -04:00
parent 15ab99b3de
commit 49baf1fe2c

View File

@ -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;
}