about summary refs log tree commit diff stats
path: root/src/LYForms.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-03-30 17:24:31 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1999-03-30 17:24:31 -0500
commit327b7c16889c9d95ec076d695c970da11dc32a2b (patch)
tree91a9c864c60dfff69efe63d4cca7aab0b4754d6d /src/LYForms.c
parent79de405977ac0d7820576b353dde07ce09cedba9 (diff)
downloadlynx-snapshots-327b7c16889c9d95ec076d695c970da11dc32a2b.tar.gz
snapshot of project "lynx", label v2-8-2dev_21
Diffstat (limited to 'src/LYForms.c')
-rw-r--r--src/LYForms.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/LYForms.c b/src/LYForms.c
index 677671ae..60150823 100644
--- a/src/LYForms.c
+++ b/src/LYForms.c
@@ -419,12 +419,11 @@ again:
 	     */
 	    case LTARROW:
 		if (MyEdit.pos == 0 && repeat == -1) {
-		    int c = 'Y';    /* Go back immediately if no changes */
+		    int c = YES;    /* Go back immediately if no changes */
 		    if (strcmp(MyEdit.buffer, value)) {
-			_statusline(PREV_DOC_QUERY);
-			c = LYgetch();
+			c = HTConfirmDefault(PREV_DOC_QUERY, NO);
 		    }
-		    if (TOUPPER(c) == 'Y') {
+		    if (c == YES) {
 			return(ch);
 		    } else {
 			if (form->disabled == YES)