From 751bb2577f34c377a758972d2b0be1fee466e953 Mon Sep 17 00:00:00 2001 From: GammaTendonNine Date: Thu, 12 Nov 2020 13:17:01 -0600 Subject: [PATCH] [Proper] Quick fix for language loading: "case: ')' contained in string" --- src/text/txtconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/txtconv.c b/src/text/txtconv.c index ead3e377..76644acc 100644 --- a/src/text/txtconv.c +++ b/src/text/txtconv.c @@ -153,7 +153,7 @@ u8 *getTranslatedText(char *txt){ } else { ctm = getCharacter(")"); if(ctm.txt != NULL){ - tmp[cid] = ctm.value[0]; + tmp[cid - shiftArr] = ctm.value[0]; } } memset(tmpIcon, 0, sizeof(tmpIcon));