diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1999-03-30 17:24:31 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1999-03-30 17:24:31 -0500 |
commit | 327b7c16889c9d95ec076d695c970da11dc32a2b (patch) | |
tree | 91a9c864c60dfff69efe63d4cca7aab0b4754d6d /src/LYForms.c | |
parent | 79de405977ac0d7820576b353dde07ce09cedba9 (diff) | |
download | lynx-snapshots-327b7c16889c9d95ec076d695c970da11dc32a2b.tar.gz |
snapshot of project "lynx", label v2-8-2dev_21
Diffstat (limited to 'src/LYForms.c')
-rw-r--r-- | src/LYForms.c | 7 |
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) |