summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2007-07-20 03:03:29 +0000
committerKevin Ferrare <kevin@rockbox.org>2007-07-20 03:03:29 +0000
commit40ea9d09e75426e19453ad584b71e47bad9a2617 (patch)
tree1c259308c98c24d4cbe7c390a3868ade92272b47
parent21cc9a6d761bf1d99a9938a13259c19abe23d281 (diff)
downloadrockbox-40ea9d09e75426e19453ad584b71e47bad9a2617.tar.gz
rockbox-40ea9d09e75426e19453ad584b71e47bad9a2617.zip
Fixes red hopefully
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13936 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/dice.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/dice.c b/apps/plugins/dice.c
index 73927372a6..1c3cb2f421 100644
--- a/apps/plugins/dice.c
+++ b/apps/plugins/dice.c
@@ -143,7 +143,7 @@ bool dice_menu(struct dices * dice) {
MENUITEM_STRINGLIST(menu,"Dice Menu",NULL,"Roll Dice","Number of Dice",
"Number of Sides","Quit");
- struct opt_items nb_sides_option[8] = {
+ static struct opt_items nb_sides_option[8] = {
{ "3", -1 },
{ "4", -1 },
{ "6", -1 },
@@ -153,7 +153,8 @@ bool dice_menu(struct dices * dice) {
{ "20", -1 },
{ "100", -1 }
};
- int nb_sides_values[] = { 3, 4, 6, 8, 10, 12, 20, 100 };
+ static int nb_sides_values[] = { 3, 4, 6, 8, 10, 12, 20, 100 };
+
while (!menu_quit) {
switch(rb->do_menu(&menu, &selection)){
case 0: