cd7e072
--- tcsh-6.14.00/tw.parse.c.old	2007-04-24 16:46:32.000000000 +0200
cd7e072
+++ tcsh-6.14.00/tw.parse.c	2007-04-24 17:02:28.000000000 +0200
cd7e072
@@ -2065,7 +2065,8 @@
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 */