From d5fc979493d777710cbecbc64a545d4ff3d61817 Mon Sep 17 00:00:00 2001 From: Burer Date: Thu, 17 Apr 2025 11:05:53 +0300 Subject: [PATCH] [Apps/Calcplus] Fix buttons list logic, part 2 --- programs/other/calcplus/calcplus.asm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/programs/other/calcplus/calcplus.asm b/programs/other/calcplus/calcplus.asm index 0401fe086..87e6652f9 100644 --- a/programs/other/calcplus/calcplus.asm +++ b/programs/other/calcplus/calcplus.asm @@ -206,6 +206,12 @@ ev_button: add ebx, 482 stdcall str_len, ebx + ; skip first (space) character + test eax, eax + jz .redraw + dec eax + inc ebx + mov edx, exp add edx, [edb1.size] add edx, eax