]> granicus.if.org Git - mutt/commitdiff
Fix compiler warning in dprint() (closes #3120)
authorMatthias Andree <matthias.andree@gmx.de>
Wed, 24 Sep 2008 13:58:22 +0000 (15:58 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Wed, 24 Sep 2008 13:58:22 +0000 (15:58 +0200)
ChangeLog
pager.c

index b65d8f36312998768efd2e2ce144221b9cc226d6..f39f55ead69c783499ccc0740413eee0872382b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2008-09-24 15:53 +0200  Rocco Rutte  <pdmef@gmx.net>  (c842922bea10)
+
+       * doc/manual.xml.head: Manual: Fix typo
+
+2008-09-24 12:31 +0200  Rocco Rutte  <pdmef@gmx.net>  (2a70f7166d9d)
+
+       * ChangeLog, mbyte.c: Provide legacy implementations for iswalpha()
+       and iswupper()
+
+       In mbyte.h and without using wc functions, only the prototypes were
+       defined but implementations were missing resulting in build errors.
+       These new functions are derived from the iswalnum() and towupper()
+       routines which don't provide full unicode coverage.
+
 2008-09-24 12:28 +0200  Rocco Rutte  <pdmef@gmx.net>  (32bfe3700b27)
 
        * imap/imap.c: Fix an infinite loop for imap searches
diff --git a/pager.c b/pager.c
index 66d5f906c6d61a44f59a4f2bba9f622b295d008a..e0d9c6a23caa965b2e71a126c2b2956bfb6028ba 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -1104,7 +1104,7 @@ static int format_line (struct line_t **lineInfo, int n, unsigned char *buf,
 
     if (Charset_is_utf8 && (wc == 0x200B || wc == 0xFEFF))
     {
-       dprint (3, (debugfile, "skip zero-width character U+%04X\n", wc));
+       dprint (3, (debugfile, "skip zero-width character U+%04X\n", (unsigned short)wc));
        continue;
     }