5b0f4da
diff -up tcsh-6.15.00/tw.parse.c.unprintable tcsh-6.15.00/tw.parse.c
5b0f4da
--- tcsh-6.15.00/tw.parse.c.unprintable	2007-03-01 22:21:42.000000000 +0100
5b0f4da
+++ tcsh-6.15.00/tw.parse.c	2008-08-29 12:28:56.000000000 +0200
5b0f4da
@@ -2119,7 +2119,8 @@ print_by_column(Char *dir, Char *items[]
cd7e072
 	     (Strchr(val, 'x') != NULL);
cd7e072
 
cd7e072
     for (i = 0; i < count; i++)	{ /* find widest string */
cd7e072
-	maxwidth = max(maxwidth, (unsigned int) NLSStringWidth(items[i]));
cd7e072
+        if (NLSStringWidth(items[i]) != -1)
cd7e072
+	    maxwidth = max(maxwidth, (unsigned int) NLSStringWidth(items[i]));
cd7e072
     }
cd7e072
 
cd7e072
     maxwidth += no_file_suffix ? 1 : 2;	/* for the file tag and space */