From 21aedc404d8e1bf637e810ee521e99472b1e1287 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Fri, 1 May 2015 23:22:51 -0600 Subject: * new version 2.20.8. * Make sure titlebar (the line at the top of the screen) always contains the name of the folder/newsgroup that is open, if this fits in the title. * Fix a bug in the Windows version in which width of characters in the width ambiguous zone was computed incorrectly. Reported by Ulf-Dietrich Braumann. --- pith/charconv/utf8.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pith/charconv/utf8.c') diff --git a/pith/charconv/utf8.c b/pith/charconv/utf8.c index 29341f71..b5ce6255 100644 --- a/pith/charconv/utf8.c +++ b/pith/charconv/utf8.c @@ -100,13 +100,14 @@ wcellwidth(UCS ucs) #endif } +/* ambiguous width zone character function */ int pith_ucs4width(UCS ucs) { #ifndef _WINDOWS return wcwidth((wchar_t) ucs); #else - return 0; + return (ucs >= 0x2100) ? 2 : 1; #endif /* _WINDOWS */ } -- cgit v1.2.3-54-g00ecf