diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:36:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:36:22 +0000 |
commit | b799a1275c8e4bb4f1f07ce3e237708902cb8922 (patch) | |
tree | c75168eb236d7b16cda59ed6a27a937367d58dfe /src/LYMain.c | |
parent | Releasing progress-linux version 2.9.0rel.0-2~progress7.99u1. (diff) | |
download | lynx-b799a1275c8e4bb4f1f07ce3e237708902cb8922.tar.xz lynx-b799a1275c8e4bb4f1f07ce3e237708902cb8922.zip |
Merging upstream version 2.9.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/LYMain.c')
-rw-r--r-- | src/LYMain.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/LYMain.c b/src/LYMain.c index ab48cae..1d52bb6 100644 --- a/src/LYMain.c +++ b/src/LYMain.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYMain.c,v 1.300 2024/01/07 15:31:25 tom Exp $ + * $LynxId: LYMain.c,v 1.301 2024/03/17 23:10:41 tom Exp $ */ #include <HTUtils.h> #include <HTTP.h> @@ -1003,7 +1003,7 @@ static void append_ssl_version(char **target, /* Set the text message domain. */ void LYSetTextDomain(void) { -#if defined(HAVE_LIBINTL_H) || defined(HAVE_LIBGETTEXT_H) +#if defined(HAVE_LIBINTL_H) const char *cp; if ((cp = LYGetEnv("LYNX_LOCALEDIR")) == 0) { @@ -1221,6 +1221,7 @@ int main(int argc, * Zero the links and history struct arrays. */ memset((void *) links, 0, sizeof(LinkInfo) * MAXLINKS); + LYAllocHistory(8); /* * Zero the MultiBookmark arrays. |