[Apps/Calcplus] Small UI tweaks to previous
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 30s
Build system / Build (pull_request) Failing after 1m33s

This commit is contained in:
2025-04-05 12:20:58 +03:00
parent 02491e13e5
commit f374e346ac

View File

@@ -306,7 +306,7 @@ calc:
cmp [error_n], 0 cmp [error_n], 0
jne .error jne .error
mov [ans.buffer], word "= " mov [ans.buffer], word " = "
stdcall convert_to_str, eax, ans.buffer + 2 stdcall convert_to_str, eax, ans.buffer + 2
add eax, 2 add eax, 2
@@ -422,7 +422,7 @@ proc draw_textbox
mcall , <LIST_X + 1, LIST_ITEM_W - 2>, < 9, 1>, [scn.gui_tb_in_shd] mcall , <LIST_X + 1, LIST_ITEM_W - 2>, < 9, 1>, [scn.gui_tb_in_shd]
mcall , <LIST_X + 1, 1 >, < 10, 27> mcall , <LIST_X + 1, 1 >, < 10, 27>
mov ebx, LIST_X + LIST_ITEM_W - 12 mov ebx, LIST_X + LIST_ITEM_W - 9
sub ebx, [ans.size] sub ebx, [ans.size]
shl ebx, 16 shl ebx, 16
add ebx, 16 add ebx, 16