fix reported beta-tester problem of not being able

to select capital letter at some prompts.
This commit is contained in:
nethack.allison
2002-08-18 00:16:43 +00:00
parent 096b420889
commit 0c31ade8df

View File

@@ -1429,7 +1429,10 @@ char mswin_yn_function(const char *question, const char *choices,
/* Only here if main window is not present */
while (result<0) {
ShowCaret(mswin_hwnd_from_winid(WIN_MESSAGE));
ch=lowc(mswin_nhgetch());
ch=mswin_nhgetch();
if (choices == ynchars || choices == ynqchars ||
choices == ynaqchars || choices == ynNaqchars)
ch = lowc(ch);
HideCaret(mswin_hwnd_from_winid(WIN_MESSAGE));
if (ch=='\033') {
result=yn_esc_map;