summaryrefslogtreecommitdiff
path: root/apps/plugins/dice.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/dice.c')
-rw-r--r--apps/plugins/dice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/dice.c b/apps/plugins/dice.c
index 46b39a67ae..5ef5d5099d 100644
--- a/apps/plugins/dice.c
+++ b/apps/plugins/dice.c
@@ -63,8 +63,8 @@ static int nb_sides_values[] = { 3, 4, 6, 8, 10, 12, 20, 100 };
63static char *sides_conf[] = {"3", "4", "6", "8", "10", "12", "20", "100" }; 63static char *sides_conf[] = {"3", "4", "6", "8", "10", "12", "20", "100" };
64static struct configdata config[] = 64static struct configdata config[] =
65{ 65{
66 {TYPE_INT, 0, MAX_DICES, &dice.nb_dices, "dice count", NULL, NULL}, 66 {TYPE_INT, 0, MAX_DICES, { .int_p = &dice.nb_dices}, "dice count", NULL},
67 {TYPE_ENUM, 0, 8, &sides_index, "side count", sides_conf, NULL} 67 {TYPE_ENUM, 0, 8, { .int_p = &sides_index }, "side count", sides_conf}
68}; 68};
69 69
70void dice_init(struct dices* dice); 70void dice_init(struct dices* dice);