From 0830f9a82ba0040336c50ef6f6fe8e6b1aec4b9d Mon Sep 17 00:00:00 2001 From: Lemur42332543632 <120027513+Lemur42332543632@users.noreply.github.com> Date: Sat, 9 Nov 2024 00:36:06 +0300 Subject: [PATCH] Remove ind in VDP_drawTextFill() (#368) --- src/vdp_bg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vdp_bg.c b/src/vdp_bg.c index 3b13c361..cb108b73 100644 --- a/src/vdp_bg.c +++ b/src/vdp_bg.c @@ -387,11 +387,10 @@ void VDP_drawTextFill(const char* str, u16 x, u16 y, u16 len) char fixedStr[len + 1]; char* dst = fixedStr; const char* src; - u16 ind; src = str; // copy str - while ((*dst++ = *src++)) ind++; + while ((*dst++ = *src++)); // revert '\0' terminator --dst;