From ce8a8409332ff28a80de918a5771baa20d6980d1 Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Thu, 2 Aug 2018 10:56:49 +0200 Subject: ADL: Remove APPLECHAR macro --- engines/adl/display_a2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/adl/display_a2.cpp') diff --git a/engines/adl/display_a2.cpp b/engines/adl/display_a2.cpp index 393e38bab1..bb0e6d9b03 100644 --- a/engines/adl/display_a2.cpp +++ b/engines/adl/display_a2.cpp @@ -239,9 +239,9 @@ void Display_A2::clear(byte color) { // FIXME: This does not currently update the surfaces void Display_A2::printChar(char c) { - if (c == APPLECHAR('\r')) + if (c == Display_A2::asciiToNative('\r')) _cursorPos = (_cursorPos / Display_A2::kTextWidth + 1) * Display_A2::kTextWidth; - else if (c == APPLECHAR('\a')) { + else if (c == Display_A2::asciiToNative('\a')) { copyTextSurface(); static_cast(g_engine)->bell(); } else if ((byte)c < 0x80 || (byte)c >= 0xa0) { -- cgit v1.2.3