Commit a389a044 authored by Chris's avatar Chris
Browse files

made menu struct const for scoring selections

parent bf85f214
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ void hold_dice_with_menu(struct die_st *dice, unsigned int num_dice) {
}

char *get_player_score_selection_with_menu(struct scorecard_st *scorecard) {
    menu_item scoring_menu[] = {
    const menu_item scoring_menu[] = {
            {.title = "aces", .command = "aces", .multi_selected = 0, .enabled = scorecard->aces != SCORE_UNSCORED},
            {.title = "twos", .command = "twos", .multi_selected = 0, .enabled = scorecard->twos != SCORE_UNSCORED},
            {.title = "threes", .command = "threes", .multi_selected = 0, .enabled = scorecard->threes != SCORE_UNSCORED},