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