From: ol.sc
Date: Fri, 19 Oct 2012 07:19:08 +0000 (+0000)
Subject: The 128+x character codes were very likely intended to be interpreted by cputs and...
X-Git-Tag: V2.14~212
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=74fb91a3a2efcab6d97468788f5e26f2ac7e2ff2;p=cc65
The 128+x character codes were very likely intended to be interpreted by cputs and translated into explicit drawing of short lines. However there was no code to do so at all. Given that the emulation of a characterbased API on a graphics system isn't the premier choice for a sophisticated UI it doesn't seem appropriate to invest into actually implementing the approach described above. Therefore I just replaced the character codes with a '+'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5862 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
diff --git a/include/geos.h b/include/geos.h
index 9c44bbdb8..0eb5957cf 100644
--- a/include/geos.h
+++ b/include/geos.h
@@ -67,21 +67,15 @@
#include
#endif
-/* Character codes $80-$8F */
-/* 1 */
-/* 2 4 */
-/* 8 */
-#define CH_HLINE 128|0|2|4|0
-#define CH_VLINE 128|1|0|0|8
-#define CH_ULCORNER 128|1|2|0|0
-#define CH_URCORNER 128|1|0|4|0
-#define CH_LLCORNER 128|0|2|0|8
-#define CH_LRCORNER 128|0|0|4|8
-#define CH_TTEE 128|1|2|4|0
-#define CH_RTEE 128|1|0|4|8
-#define CH_BTEE 128|0|2|4|8
-#define CH_LTEE 128|1|2|0|8
-#define CH_CROSS 128|1|2|4|8
+#define CH_ULCORNER '+'
+#define CH_URCORNER '+'
+#define CH_LLCORNER '+'
+#define CH_LRCORNER '+'
+#define CH_TTEE '+'
+#define CH_RTEE '+'
+#define CH_BTEE '+'
+#define CH_LTEE '+'
+#define CH_CROSS '+'
/* Additional key defines */
#define CH_F1 133