diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2000-07-17 03:30:30 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2000-07-17 03:30:30 -0400 |
commit | 3f6f71189bc39edb970df722688fb4a6bf2bdfe4 (patch) | |
tree | b53d87e5651c2013b53f1238f60aee74b251a90a /src/HTFWriter.c | |
parent | fe76940414337a9058df2d426bf5527154ca283a (diff) | |
download | lynx-snapshots-3f6f71189bc39edb970df722688fb4a6bf2bdfe4.tar.gz |
snapshot of project "lynx", label v2-8-4dev_5
Diffstat (limited to 'src/HTFWriter.c')
-rw-r--r-- | src/HTFWriter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HTFWriter.c b/src/HTFWriter.c index 6ea0dea1..653c2a9f 100644 --- a/src/HTFWriter.c +++ b/src/HTFWriter.c @@ -740,7 +740,7 @@ PUBLIC HTStream* HTSaveToFile ARGS3( return(NULL); } - if (((cp=strchr(pres->rep->name, ';')) != NULL) && + if (((cp = strchr(pres->rep->name, ';')) != NULL) && strstr((cp+1), "charset") != NULL) { _user_message(MSG_DOWNLOAD_OR_CANCEL, pres->rep->name); } else if (*(pres->rep->name) != '\0') { @@ -749,7 +749,7 @@ PUBLIC HTStream* HTSaveToFile ARGS3( _statusline(CANNOT_DISPLAY_FILE_D_OR_C); } - while(c != 'D') { + while (c != 'D' && c != 'C') { c = LYgetch_single(); #ifdef VMS /* |