diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2013-10-14 00:13:37 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2013-10-14 00:13:37 -0400 |
commit | ed46d3cc0121dbce87345bbbb119cd4080c247c7 (patch) | |
tree | c34bdd611f309476e5c1c1d7b72bf43236b522fb /src/LYPrint.c | |
parent | f1977d62c94d74a72d1c7a4abbbecdec21e3980e (diff) | |
download | lynx-snapshots-ed46d3cc0121dbce87345bbbb119cd4080c247c7.tar.gz |
snapshot of project "lynx", label v2-8-8dev_16q
Diffstat (limited to 'src/LYPrint.c')
-rw-r--r-- | src/LYPrint.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/LYPrint.c b/src/LYPrint.c index b4020815..f5543ffe 100644 --- a/src/LYPrint.c +++ b/src/LYPrint.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYPrint.c,v 1.98 2013/05/04 13:15:47 tom Exp $ + * $LynxId: LYPrint.c,v 1.101 2013/10/13 20:23:07 tom Exp $ */ #include <HTUtils.h> #include <HTAccess.h> @@ -180,9 +180,9 @@ static int RecallFilename(bstring **filename, } recall = ((*total >= 1) ? RECALL_URL : NORECALL); - if ((ch = LYgetBString(filename, VISIBLE, 0, recall)) < 0 || - *filename == '\0' || ch == UPARROW || ch == DNARROW) { - if (recall && ch == UPARROW) { + if ((ch = LYgetBString(filename, FALSE, 0, recall)) < 0 || + *filename == '\0' || ch == UPARROW_KEY || ch == DNARROW_KEY) { + if (recall && ch == UPARROW_KEY) { if (*first) { *first = FALSE; /* @@ -214,7 +214,7 @@ static int RecallFilename(bstring **filename, } return FN_READ; } - } else if (recall && ch == DNARROW) { + } else if (recall && ch == DNARROW_KEY) { if (*first) { *first = FALSE; /* @@ -504,7 +504,7 @@ static void send_file_to_mail(DocInfo *newdoc, _statusline(MAIL_ADDRESS_PROMPT); BStrCopy0(user_response, NonNull(personal_mail_address)); - if (LYgetBString(&user_response, VISIBLE, 0, RECALL_MAIL) < 0 || + if (LYgetBString(&user_response, FALSE, 0, RECALL_MAIL) < 0 || isBEmpty(user_response)) { CancelPrint(MAIL_REQUEST_CANCELLED); } @@ -969,7 +969,7 @@ static void send_file_to_screen(DocInfo *newdoc, } BStrCopy0(prompt, ""); - if (LYgetBString(&prompt, VISIBLE, 0, NORECALL) < 0) { + if (LYgetBString(&prompt, FALSE, 0, NORECALL) < 0) { CancelPrint(PRINT_REQUEST_CANCELLED); } else { outfile_fp = stdout; |