Skip to content

Commit

Permalink
Fix: Cartomancer could not be selected in curses mode (reported by cb…
Browse files Browse the repository at this point in the history
…us).
  • Loading branch information
elunna committed Nov 15, 2023
1 parent 817970a commit 92f2277
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion win/curses/cursinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,9 @@ curses_character_dialog(const char **choices, const char *prompt)
curletter = toupper(curletter);
}
}

/* Kludge for Cartomancer, since c's are taken */
if (!strcmp(choices[count], "Cartomancer"))
curletter = 'M';
identifier.a_int = (count + 1); /* Must be non-zero */
curses_add_menu(wid, NO_GLYPH, &identifier, curletter, 0,
A_NORMAL, choices[count], FALSE);
Expand Down

0 comments on commit 92f2277

Please sign in to comment.