diff options
Diffstat (limited to 'graphics/gd2/files/patch-gdttf.c')
-rw-r--r-- | graphics/gd2/files/patch-gdttf.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/graphics/gd2/files/patch-gdttf.c b/graphics/gd2/files/patch-gdttf.c deleted file mode 100644 index c7b8768a725f..000000000000 --- a/graphics/gd2/files/patch-gdttf.c +++ /dev/null @@ -1,17 +0,0 @@ ---- gdttf.c.orig Fri Feb 2 05:23:56 2001 -+++ gdttf.c Wed Feb 7 20:57:34 2001 -@@ -221,11 +221,10 @@ - byte = *((unsigned char *) str); - #ifdef JISX0208 - if (0xA1 <= byte && byte <= 0xFE) { -- int jiscode, ku, ten; -+ int ku, ten; - -- jiscode = 0x100 * (byte & 0x7F) + (str[1] & 0x7F); -- ku = (jiscode >> 8) - 0x20; -- ten = (jiscode % 256) - 0x20; -+ ku = (byte & 0x7F) - 0x20; -+ ten = (str[1] & 0x7F) - 0x20; - if ( (ku < 1 || ku > 92) || (ten < 1 || ten > 94) ) { - *chPtr = (Tcl_UniChar) byte; - return 1; |