one or two fewer warnings

This commit is contained in:
Cary Sandvig 2001-04-11 20:56:41 +00:00
parent 5cbe317cc2
commit 08e05167f8

View File

@ -89,6 +89,9 @@ INLINE void GuiButton::inactive(void) {
case DOWN_ROLLOVER:
switch_state(INACTIVE_ROLLOVER);
break;
case INACTIVE:
case INACTIVE_ROLLOVER:
break;
default:
gui_cat->warning() << "got inactive from invalid state (" << (int)_state
<< "), button '" << this->get_name() << "'" << endl;