summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-05-01 23:22:51 -0600
committerEduardo Chappa <chappa@washington.edu>2015-05-01 23:22:51 -0600
commit21aedc404d8e1bf637e810ee521e99472b1e1287 (patch)
tree69ab791ae71e69d99edcd281baecb6b25dd6d088 /pith
parente2e8488ca2d18f2b0eedaa1bfc6826e8a11de025 (diff)
downloadalpine-21aedc404d8e1bf637e810ee521e99472b1e1287.tar.xz
* 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.
Diffstat (limited to 'pith')
-rw-r--r--pith/charconv/utf8.c3
-rw-r--r--pith/pine.hlp10
2 files changed, 9 insertions, 4 deletions
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 */
}
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 200be84f..65adbef4 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 76 2015-04-23 00:24:02
+Alpine Commit 77 2015-05-01 23:22:47
============= h_news =================
<HTML>
<HEAD>
@@ -218,8 +218,12 @@ Additions include:
<LI> For a multipart/alternative message, the Take Address command will
work on the part that is being read.
- <LI> When sending a message, allow for 512 characters of consecutive non-white
- space before folding the subject line.
+ <LI> When sending a message, allow for 512 characters of consecutive
+ non-white space before folding the subject line.
+
+ <LI> 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.
</UL>