diff src/terminfo.c @ 424:11054d720c21 r21-2-20

Import from CVS: tag r21-2-20
author cvs
date Mon, 13 Aug 2007 11:26:11 +0200
parents 697ef44129c6
children
line wrap: on
line diff
--- a/src/terminfo.c	Mon Aug 13 11:25:03 2007 +0200
+++ b/src/terminfo.c	Mon Aug 13 11:26:11 2007 +0200
@@ -81,7 +81,7 @@
   temp = (char *) tparm (string, arg1, arg2, arg3, arg4, arg5, arg6, arg7,
 			 arg8, arg9);
   if (outstring == 0)
-    outstring = ((char *) (xmalloc ((strlen (temp)) + 1)));
+    outstring = (char *) xmalloc (strlen (temp) + 1);
   strcpy (outstring, temp);
   return outstring;
 }