about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2017-02-08 01:23:33 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2017-02-08 01:23:33 +0000
commit882f462b567855898ed2e47023bed2dfb5e018b0 (patch)
tree1ab35f58ac28f52824ca9f1b690d747a006f6b3d
parentd8e019645e7bf4370fc3c80b95d3124856b4bb9f (diff)
downloadlynx-snapshots-882f462b567855898ed2e47023bed2dfb5e018b0.tar.gz
snapshot of project "lynx", label v2-8-9dev_11k
-rw-r--r--src/UCdomap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UCdomap.c b/src/UCdomap.c
index 7e5d14ca..7c2ef7c5 100644
--- a/src/UCdomap.c
+++ b/src/UCdomap.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: UCdomap.c,v 1.102 2017/02/07 10:02:21 tom Exp $
+ * $LynxId: UCdomap.c,v 1.103 2017/02/08 01:23:33 tom Exp $
  *
  *  UCdomap.c
  *  =========
@@ -492,7 +492,7 @@ static int con_insert_unipair_str(unsigned unicode, const char *replace_str,
     else
 	p1 = uni_pagedir_str[n = unicode >> 11];
     if (!p1) {
-	if ((p1[n] = typecallocn(char *, 32)) == NULL)
+	if ((p1 = typecallocn(char **, 32)) == NULL)
 	      return ucError;
 
 	if (fordefault)