projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't remove trampolines twice
[supertux.git]
/
src
/
menu.cpp
diff --git
a/src/menu.cpp
b/src/menu.cpp
index
8b16164
..
1de8a7f
100644
(file)
--- a/
src/menu.cpp
+++ b/
src/menu.cpp
@@
-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