From 6352ed7629f3a1cfb5332f8f6a1d4c667baa310c Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Mon, 22 Apr 2002 13:22:44 +0000 Subject: Mon Apr 22 09:20:26 2002 Michael Jennings (mej) Fixed the use of an uninitialized variable pointed out by Azundris . SVN revision: 6162 --- src/term.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/term.c b/src/term.c index 72e2ef4..d42a5d1 100644 --- a/src/term.c +++ b/src/term.c @@ -1792,8 +1792,9 @@ xterm_seq(int op, const char *str) if (!str) return; + tnstr = STRDUP(str); #ifdef PIXMAP_SUPPORT - orig_tnstr = tnstr = STRDUP(str); + orig_tnstr = tnstr; #endif switch (op) { -- cgit v1.2.1