diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:36:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:36:21 +0000 |
commit | 2ee7775ccfde81ab26358da5d06fa4a8130f6d92 (patch) | |
tree | 393a6873c4d7b9bd0d8906862aaf3f596e2fbd95 /src/LYMain.c | |
parent | Adding upstream version 2.9.0rel.0. (diff) | |
download | lynx-2ee7775ccfde81ab26358da5d06fa4a8130f6d92.tar.xz lynx-2ee7775ccfde81ab26358da5d06fa4a8130f6d92.zip |
Adding upstream version 2.9.1.upstream/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. |