mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1025595 - Correct erroneous aWidgetType comparison, r=jimm
--HG-- extra : rebase_source : 3392632e217abe6d521bf42ef328f15acd438390
This commit is contained in:
parent
b5378a6500
commit
0aa30c7d96
@ -2523,7 +2523,7 @@ nsNativeThemeWin::WidgetStateChanged(nsIFrame* aFrame, uint8_t aWidgetType,
|
|||||||
aWidgetType == NS_THEME_WINDOW_FRAME_BOTTOM ||
|
aWidgetType == NS_THEME_WINDOW_FRAME_BOTTOM ||
|
||||||
aWidgetType == NS_THEME_WINDOW_BUTTON_CLOSE ||
|
aWidgetType == NS_THEME_WINDOW_BUTTON_CLOSE ||
|
||||||
aWidgetType == NS_THEME_WINDOW_BUTTON_MINIMIZE ||
|
aWidgetType == NS_THEME_WINDOW_BUTTON_MINIMIZE ||
|
||||||
aWidgetType == NS_THEME_WINDOW_BUTTON_MINIMIZE ||
|
aWidgetType == NS_THEME_WINDOW_BUTTON_MAXIMIZE ||
|
||||||
aWidgetType == NS_THEME_WINDOW_BUTTON_RESTORE) {
|
aWidgetType == NS_THEME_WINDOW_BUTTON_RESTORE) {
|
||||||
*aShouldRepaint = true;
|
*aShouldRepaint = true;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user