summaryrefslogtreecommitdiff
path: root/apps
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 /apps
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
Diffstat (limited to 'apps')
-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) {
143 MENUITEM_STRINGLIST(menu,"Dice Menu",NULL,"Roll Dice","Number of Dice", 143 MENUITEM_STRINGLIST(menu,"Dice Menu",NULL,"Roll Dice","Number of Dice",
144 "Number of Sides","Quit"); 144 "Number of Sides","Quit");
145 145
146 struct opt_items nb_sides_option[8] = { 146 static struct opt_items nb_sides_option[8] = {
147 { "3", -1 }, 147 { "3", -1 },
148 { "4", -1 }, 148 { "4", -1 },
149 { "6", -1 }, 149 { "6", -1 },
@@ -153,7 +153,8 @@ bool dice_menu(struct dices * dice) {
153 { "20", -1 }, 153 { "20", -1 },
154 { "100", -1 } 154 { "100", -1 }
155 }; 155 };
156 int nb_sides_values[] = { 3, 4, 6, 8, 10, 12, 20, 100 }; 156 static int nb_sides_values[] = { 3, 4, 6, 8, 10, 12, 20, 100 };
157
157 while (!menu_quit) { 158 while (!menu_quit) {
158 switch(rb->do_menu(&menu, &selection)){ 159 switch(rb->do_menu(&menu, &selection)){
159 case 0: 160 case 0: