From c8902d9c20f4c16aa4e02e8fca1287f674b8617e Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Fri, 13 Jun 2025 11:06:58 +1000 Subject: [PATCH] fix a copy paste error --- src/pc/lua/utils/smlua_gfx_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc/lua/utils/smlua_gfx_utils.c b/src/pc/lua/utils/smlua_gfx_utils.c index ebc51c785..305a2086f 100644 --- a/src/pc/lua/utils/smlua_gfx_utils.c +++ b/src/pc/lua/utils/smlua_gfx_utils.c @@ -280,7 +280,7 @@ void gfx_copy(Gfx *dest, Gfx *src, u32 length) { u32 destLength = gfx_get_length(dest); if (length > destLength) { - LOG_LUA_LINE("gfx_copy: Cannot copy %u commands to a display list of length: %u", length, srcLength); + LOG_LUA_LINE("gfx_copy: Cannot copy %u commands to a display list of length: %u", length, destLength); return; }