diff options
author | Doug Barton <dougb@FreeBSD.org> | 2004-06-09 11:41:37 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2004-06-09 11:41:37 +0000 |
commit | e619756f7428cfe168be4016c1117d8cac8773d6 (patch) | |
tree | 49f261ec1ab74898f6099acca28fca4234e120a0 /mail/pine4 | |
parent | 76fdcf92d8df9c31e03581bc66a7b3d32f657dec (diff) | |
download | ports-e619756f7428cfe168be4016c1117d8cac8773d6.tar.gz ports-e619756f7428cfe168be4016c1117d8cac8773d6.zip |
Notes
Diffstat (limited to 'mail/pine4')
-rw-r--r-- | mail/pine4/files/patch-pine_strings.c | 29 |
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 ---- |