- uncomment crash fix that was accidentally commented
authorRyan Flegel <rflegel@gmail.com>
Fri, 14 May 2004 05:14:30 +0000 (05:14 +0000)
committerRyan Flegel <rflegel@gmail.com>
Fri, 14 May 2004 05:14:30 +0000 (05:14 +0000)
SVN-Revision: 1170

src/menu.cpp

index 8b16164..1de8a7f 100644 (file)
@@ -490,8 +490,8 @@ Menu::action()
 
   menuaction = MENU_ACTION_NONE;
 
-  //if (active_item >= int(item.size()))
-  //  active_item = int(item.size()) - 1;
+  if (active_item >= int(item.size()))
+    active_item = int(item.size()) - 1;
 }
 
 int