From 4c6a15c5c7ecd87980256d5cf93017e405560309 Mon Sep 17 00:00:00 2001 From: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com> Date: Wed, 17 Mar 2021 13:57:55 +0100 Subject: [PATCH] Fix compilation error. --- source/font.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/font.cpp b/source/font.cpp index 7668539..bae0a7d 100644 --- a/source/font.cpp +++ b/source/font.cpp @@ -290,22 +290,22 @@ ITCM_CODE void Font::print(std::u16string_view text, int x, int y, bool top, int if(rtl) { switch(*it) { case '(': - index = getCharIndex(')'); + index = charIndex(')'); break; case ')': - index = getCharIndex('('); + index = charIndex('('); break; case '[': - index = getCharIndex(']'); + index = charIndex(']'); break; case ']': - index = getCharIndex('['); + index = charIndex('['); break; case '<': - index = getCharIndex('>'); + index = charIndex('>'); break; case '>': - index = getCharIndex('<'); + index = charIndex('<'); break; default: break;