diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2022-04-01 07:55:02 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2022-04-01 07:55:02 +0000 |
commit | 4a784a7f73d7e06d92fcd4b8844dc0ef00f41050 (patch) | |
tree | 0c5c31f1170d5599f11f19a889ba495ce1ebd340 /src/LYMain.c | |
parent | 04fd5be50c369e986053e7bfcc4b9eb2fa5ac937 (diff) | |
download | lynx-snapshots-4a784a7f73d7e06d92fcd4b8844dc0ef00f41050.tar.gz |
snapshot of project "lynx", label v2-9-0dev_10e
Diffstat (limited to 'src/LYMain.c')
-rw-r--r-- | src/LYMain.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/LYMain.c b/src/LYMain.c index af78ef78..eef3ff76 100644 --- a/src/LYMain.c +++ b/src/LYMain.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYMain.c,v 1.295 2021/07/05 20:26:11 tom Exp $ + * $LynxId: LYMain.c,v 1.298 2022/04/01 07:50:45 tom Exp $ */ #include <HTUtils.h> #include <HTTP.h> @@ -1932,7 +1932,7 @@ int main(int argc, /* * Check the -base command line switch with -source. - FM */ - if (LYPrependBase && HTOutputFormat == HTAtom_for("www/download")) { + if (LYPrependBase && HTOutputFormat == WWW_DOWNLOAD) { LYPrependBaseToSource = TRUE; } @@ -2582,8 +2582,8 @@ static int base_fun(char *next_arg GCC_UNUSED) * later, if LYPrependBase is set TRUE here. - FM */ LYPrependBase = TRUE; - if (HTOutputFormat == HTAtom_for("www/dump")) - HTOutputFormat = HTAtom_for("www/download"); + if (HTOutputFormat == WWW_DUMP) + HTOutputFormat = WWW_DOWNLOAD; return 0; } @@ -2832,7 +2832,7 @@ static int mime_header_fun(char *next_arg GCC_UNUSED) keep_mime_headers = TRUE; force_dump_mode(); HTOutputFormat = (LYPrependBase ? - HTAtom_for("www/download") : HTAtom_for("www/dump")); + WWW_DOWNLOAD : WWW_DUMP); LYcols = MAX_COLS; return 0; } @@ -3193,7 +3193,7 @@ static int source_fun(char *next_arg GCC_UNUSED) { force_dump_mode(); HTOutputFormat = (LYPrependBase ? - HTAtom_for("www/download") : HTAtom_for("www/dump")); + WWW_DOWNLOAD : WWW_DUMP); LYcols = MAX_COLS; return 0; } |