diff --git a/widget/src/xpwidgets/nsBaseWidget.cpp b/widget/src/xpwidgets/nsBaseWidget.cpp index 273642aaee6..6219260e66d 100644 --- a/widget/src/xpwidgets/nsBaseWidget.cpp +++ b/widget/src/xpwidgets/nsBaseWidget.cpp @@ -809,7 +809,7 @@ nsBaseWidget::GuiEventToString(nsGUIEvent & aEvent) nsString eventName = "UNKNOWN"; #define _ASSIGN_eventName(_value,_name)\ -case _value: eventName = _name ; break; +case _value: eventName = _name ; break switch(aEvent.message) {