summaryrefslogtreecommitdiff
path: root/news_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'news_gui.c')
-rw-r--r--news_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/news_gui.c b/news_gui.c
index 608b3e9d1..1f22f6078 100644
--- a/news_gui.c
+++ b/news_gui.c
@@ -539,7 +539,7 @@ static void GetNewsString(NewsItem *ni, char *buffer, uint max)
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;
}
}