news_gui.c
changeset 1390 53a5713cf3f9
parent 1336 c9e6b766bf21
child 1648 747061dca705
--- a/news_gui.c	Sun Feb 20 09:05:28 2005 +0000
+++ b/news_gui.c	Mon Feb 21 18:59:54 2005 +0000
@@ -539,7 +539,7 @@
 			d[0] = d[1] = d[2] = d[3] = ' ';
 			d += 4;
 		} else if ((byte)*s >= ' ' && ((byte)*s < 0x88 || (byte)*s >= 0x99)) {
-			len += _stringwidth_table[(byte)*s - 32];
+			len += GetCharacterWidth((byte)*s);
 			*d++ = *s;
 		}
 	}