From 0c31ade8dfaa16768be34ec6152f03079d0a33a0 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sun, 18 Aug 2002 00:16:43 +0000 Subject: [PATCH] fix reported beta-tester problem of not being able to select capital letter at some prompts. --- win/win32/mswproc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index b9e872b51..d36723e95 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -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; -- 2.40.0