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