From 159955668b23e32fb7cefa1638bb40b8b3a58fa9 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 11 Jun 1998 13:00:20 -0400 Subject: snapshot of project "lynx", label v2-8-1dev_16 --- src/LYUtils.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/LYUtils.c') 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++; -- cgit 1.4.1-2-gfad0