summaryrefslogtreecommitdiff
path: root/alpine/alpine.c
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 /alpine/alpine.c
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 'alpine/alpine.c')
-rw-r--r--alpine/alpine.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/alpine/alpine.c b/alpine/alpine.c
index b444c17e..c7542da8 100644
--- a/alpine/alpine.c
+++ b/alpine/alpine.c
@@ -299,7 +299,13 @@ main(int argc, char **argv)
exit(-1);
}
+ /* Windows has its own functions to determine width of a character
+ * in the screen, so this is not necessary to do in Window, and
+ * using pith_ucs4width does not produce the correct result
+ */
+#ifndef _WINDOWS
mail_parameters(NULL, SET_UCS4WIDTH, (void *) pith_ucs4width);
+#endif /* _WINDOWS */
mail_parameters(NULL, SET_QUOTA, (void *) pine_parse_quota);
/* set some default timeouts in case pinerc is remote */
mail_parameters(NULL, SET_OPENTIMEOUT, (void *)(long)30);