diff --git a/ChangeLog b/ChangeLog index e6f40673f2323e3c0360865b56eb40a3fd488551..66e01bbcdc0ba25a5c212d8881671dde67045268 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-30 David Lawrence Ramsey <pooka109@gmail.com> + + * prompt.c (do_yesno_prompt): Remove redundant check for + NO_HELP's being FALSE. + 2007-06-28 David Lawrence Ramsey <pooka109@gmail.com> * browser.c (do_browser), nano.c (do_mouse), prompt.c diff --git a/src/prompt.c b/src/prompt.c index a213efe28df89056673a1755507e845308b962f2..06b2b6a6f64b70d0c33e39ddabda53b2ad81e111 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -1332,12 +1332,12 @@ int do_yesno_prompt(bool all, const char *msg) break; #ifndef DISABLE_MOUSE case KEY_MOUSE: - /* We can click on the shortcut list to select an - * answer. */ + /* We can click on the Yes/No/All shortcut list to + * select an answer. */ if (get_mouseinput(&mouse_x, &mouse_y, FALSE) == 0 && wmouse_trafo(bottomwin, &mouse_y, &mouse_x, - FALSE) && !ISSET(NO_HELP) && mouse_x < - (width * 2) && mouse_y > 0) { + FALSE) && mouse_x < (width * 2) && + mouse_y > 0) { int x = mouse_x / width; /* Calculate the x-coordinate relative to the * two columns of the Yes/No/All shortcuts in