about summary refs log tree commit diff stats
path: root/src/LYUtils.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-06-11 13:00:20 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-06-11 13:00:20 -0400
commit159955668b23e32fb7cefa1638bb40b8b3a58fa9 (patch)
tree232b28da1a8d72ec8f23944c79d5c438a0204f92 /src/LYUtils.c
parentb5ffa7c020e319cbfceee3c506f5c16764800dc2 (diff)
downloadlynx-snapshots-159955668b23e32fb7cefa1638bb40b8b3a58fa9.tar.gz
snapshot of project "lynx", label v2-8-1dev_16
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r--src/LYUtils.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c
index bb30a96e..e4e4fa47 100644
--- a/src/LYUtils.c
+++ b/src/LYUtils.c
@@ -2893,9 +2893,9 @@ PUBLIC void size_change ARGS1(
      */
     if (LYlines != old_lines || LYcols != old_cols) {
 	recent_sizechange = TRUE;
-    }
-    CTRACE(tfp, "Window size changed from (%d,%d) to (%d,%d)\n",
+	CTRACE(tfp, "Window size changed from (%d,%d) to (%d,%d)\n",
 		old_lines, old_cols, LYlines, LYcols);
+    }
 #ifdef SIGWINCH
     (void)signal (SIGWINCH, size_change);
 #endif /* SIGWINCH */
@@ -3249,6 +3249,10 @@ PRIVATE char *fmt_tempname ARGS3(
     static unsigned counter;
     char *leaf;
 
+    if (prefix == 0)
+    	prefix = "";
+    if (suffix == 0)
+    	suffix = "";
     strcpy(result, prefix);
     leaf = result + strlen(result);
     counter++;