From a01c4231f20a27cea7022e8d2a9b8e4124fb65ca Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Wed, 8 May 2019 10:22:12 +0200
Subject: [PATCH] Fixed _textcolor definition.
The _textcolor() macro doesn't just turn on the macro optimization. It defines the return value of textcolor() - and that is supposed to be a COLOR_... value.
---
include/atari.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/atari.h b/include/atari.h
index 4fc027d20..582e23be6 100644
--- a/include/atari.h
+++ b/include/atari.h
@@ -540,7 +540,7 @@ extern void atrx15p2_tgi[];
** to be overlaid by macros with the same names, saving the function call
** overhead.
*/
-#define _textcolor(color) 1
+#define _textcolor(color) COLOR_WHITE
/* End of atari.h */
#endif
--
2.39.5