summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/screen/files/patch-ah')
-rw-r--r--sysutils/screen/files/patch-ah49
1 files changed, 0 insertions, 49 deletions
diff --git a/sysutils/screen/files/patch-ah b/sysutils/screen/files/patch-ah
deleted file mode 100644
index a63bd227918b..000000000000
--- a/sysutils/screen/files/patch-ah
+++ /dev/null
@@ -1,49 +0,0 @@
---- ./display.c.orig Fri Feb 22 12:56:57 2002
-+++ ./display.c Fri Feb 22 13:02:10 2002
-@@ -3371,7 +3371,7 @@
- {
- int font = 0;
- j += EncodeChar(buf2 + j, c, D_forecv->c_layer->l_encoding, &font);
-- j += EncodeChar(buf2 + j, 0, D_forecv->c_layer->l_encoding, &font);
-+ j += EncodeChar(buf2 + j, -1, D_forecv->c_layer->l_encoding, &font);
- }
- else
- j += EncodeChar(buf2 + j, c, D_forecv->c_layer->l_encoding, 0);
---- ./encoding.c.orig Fri Feb 22 12:57:46 2002
-+++ ./encoding.c Fri Feb 22 13:01:30 2002
-@@ -1032,7 +1032,7 @@
- int t, f, l;
-
- debug2("Encoding char %02x for encoding %d\n", c, encoding);
-- if (c == 0 && fontp)
-+ if (c == -1 && fontp)
- {
- if (*fontp == 0)
- return 0;
-@@ -1297,7 +1297,7 @@
- continue;
- j += EncodeChar(tbuf ? (char *)tbuf + j : 0, c, tenc, &font);
- }
-- j += EncodeChar(tbuf ? (char *)tbuf + j : 0, 0, tenc, &font);
-+ j += EncodeChar(tbuf ? (char *)tbuf + j : 0, -1, tenc, &font);
- return j;
- }
-
-@@ -1456,7 +1456,7 @@
- int *fontp;
- {
- int f, l;
-- f = c >> 16;
-+ f = (c == -1) ? 0 : c >> 16;
- l = 0;
- if (fontp && f != *fontp)
- {
-@@ -1486,7 +1486,7 @@
- l += 3;
- }
- }
-- if (c == 0)
-+ if (c == -1)
- return l;
- if (c & 0xff00)
- {