From 9e20f329e41d14db14c3285b20ae1c207603088e Mon Sep 17 00:00:00 2001 From: visionmercer <62051836+visionmercer@users.noreply.github.com> Date: Wed, 27 May 2026 13:49:59 +0200 Subject: [PATCH] Save space --- pixler.bas | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pixler.bas b/pixler.bas index 1426a1a..8f9ac8f 100644 --- a/pixler.bas +++ b/pixler.bas @@ -142,12 +142,10 @@ do showcommands=not showcommands case chr$(26) ' Ctrl+Z if ubound(commands) > 3 then - ' Drop the trailing empty slot AND the last valid command + ' Drop the trailing empty slot and the last valid command redim _preserve commands(ubound(commands) - 2) as string - ' Re-create the empty trailing slot required by addcommand redim _preserve commands(ubound(commands) + 1) as string - redraw end if end select