]> git.marmaro.de Git - mmh/blobdiff - sbr/fmt_scan.c
Added Content-Description header with the filename of the attachment, with attachform...
[mmh] / sbr / fmt_scan.c
index 97a0b4a3abf216d61b9c0de4f4c2906d2627362b..8d0383608c03053b66e24d615526d791de6c259e 100644 (file)
@@ -126,10 +126,11 @@ cpnumber(char **dest, int num, unsigned int wid, char fill, size_t n) {
 static void
 cptrimmed(char **dest, char *str, unsigned int wid, char fill, size_t n) {
     int remaining;     /* remaining output width available */
-    int c, ljust, w;
+    int c, ljust;
     int end;           /* number of input bytes remaining in str */
 #ifdef MULTIBYTE_SUPPORT
     int char_len;      /* bytes in current character */
+    int w;
     wchar_t wide_char;
 #endif
     char *sp;          /* current position in source string */