1
0
Fork 0
forked from len0rd/rockbox

Fixes red hopefully

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13936 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Kevin Ferrare 2007-07-20 03:03:29 +00:00
parent 21cc9a6d76
commit 40ea9d09e7

View file

@ -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: