Fix compilation error.

This commit is contained in:
StackZ
2021-03-17 13:57:55 +01:00
parent bbbb15c4bc
commit 4c6a15c5c7
+6 -6
View File
@@ -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;