aboutsummaryrefslogtreecommitdiff
path: root/mail/pine4/files/patch-pine_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/pine4/files/patch-pine_strings.c')
-rw-r--r--mail/pine4/files/patch-pine_strings.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/pine4/files/patch-pine_strings.c b/mail/pine4/files/patch-pine_strings.c
new file mode 100644
index 000000000000..979ca8aa81da
--- /dev/null
+++ b/mail/pine4/files/patch-pine_strings.c
@@ -0,0 +1,29 @@
+*** pine/strings.c.orig Thu May 6 10:47:29 2004
+--- pine/strings.c Wed Jun 9 04:16:00 2004
+***************
+*** 3754,3760 ****
+ p = ct->table = (unsigned char *)
+ fs_get(256 * sizeof(unsigned char));
+ for(i = 0; i < 256; i++){
+! unsigned char fc;
+ p[i] = '?';
+ switch(from->type){ /* get "from" UCS-2 codepoint */
+ case CT_1BYTE0: /* ISO 8859-1 */
+--- 3754,3760 ----
+ p = ct->table = (unsigned char *)
+ fs_get(256 * sizeof(unsigned char));
+ for(i = 0; i < 256; i++){
+! unsigned int fc;
+ p[i] = '?';
+ switch(from->type){ /* get "from" UCS-2 codepoint */
+ case CT_1BYTE0: /* ISO 8859-1 */
+***************
+*** 3789,3795 ****
+ }
+ break;
+ }
+- p[i] = i;
+ }
+ break;
+ }
+--- 3789,3794 ----