From 0c018a9fd600e9ae1cb8792aec247bdb896f45b0 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 25 Apr 2019 16:26:37 +0100 Subject: [PATCH] Deobfuscated null characters --- src/TextScr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TextScr.cpp b/src/TextScr.cpp index 1e0a9590..f502cfd3 100644 --- a/src/TextScr.cpp +++ b/src/TextScr.cpp @@ -1296,11 +1296,11 @@ int TextScriptProc() if (c[0] & 0x80) { c[1] = gTS.data[gTS.p_read + 1]; - c[2] = 0; + c[2] = '\0'; } else { - c[1] = 0; + c[1] = '\0'; } //Print text