projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77670ab
)
Fixed MenuEntry id generation in AddonMenu
author
Ingo Ruhnke
<grumbel@gmail.com>
Sun, 24 Aug 2014 01:13:54 +0000
(
03:13
+0200)
committer
Ingo Ruhnke
<grumbel@gmail.com>
Mon, 25 Aug 2014 07:52:11 +0000
(09:52 +0200)
src/supertux/menu/addon_menu.cpp
patch
|
blob
|
history
diff --git
a/src/supertux/menu/addon_menu.cpp
b/src/supertux/menu/addon_menu.cpp
index
704d1d2
..
7de316e
100644
(file)
--- a/
src/supertux/menu/addon_menu.cpp
+++ b/
src/supertux/menu/addon_menu.cpp
@@
-155,7
+155,6
@@
AddonMenu::rebuild_menu()
<< std::endl;
std::string text = generate_menu_item_text(addon);
add_entry(MAKE_REPOSITORY_MENU_ID(idx), "Install " + text + " *NEW*");
- idx += 1;
}
}
catch(const std::exception& err)
@@
-163,8
+162,8
@@
AddonMenu::rebuild_menu()
// addon is not installed
std::string text = generate_menu_item_text(addon);
add_entry(MAKE_REPOSITORY_MENU_ID(idx), "Install " + text);
- idx += 1;
}
+ idx += 1;
}
}