diff --git a/programs/develop/tinypad/trunk/tp-button.asm b/programs/develop/tinypad/trunk/tp-button.asm index ea86b08460..017608a1d0 100644 --- a/programs/develop/tinypad/trunk/tp-button.asm +++ b/programs/develop/tinypad/trunk/tp-button.asm @@ -47,7 +47,7 @@ button: jns @f inc [cur_editor.TopLeft.Y] ret - @@: call editor_check_for_changes + @@: call editor_check_for_changes.direct ret btn.vscroll_down: @@ -58,7 +58,7 @@ button: jge @f dec [cur_editor.TopLeft.Y] ret - @@: call editor_check_for_changes + @@: call editor_check_for_changes.direct ret btn.hscroll_up: @@ -66,7 +66,7 @@ button: jns @f inc [cur_editor.TopLeft.X] ret - @@: call editor_check_for_changes + @@: call editor_check_for_changes.direct ret btn.hscroll_down: @@ -77,7 +77,7 @@ button: jge @f dec [cur_editor.TopLeft.X] ret - @@: call editor_check_for_changes + @@: call editor_check_for_changes.direct ret btn.tabctl_right: diff --git a/programs/develop/tinypad/trunk/tp-editor.asm b/programs/develop/tinypad/trunk/tp-editor.asm index 8b0d097631..c2120a0b7c 100644 --- a/programs/develop/tinypad/trunk/tp-editor.asm +++ b/programs/develop/tinypad/trunk/tp-editor.asm @@ -996,7 +996,7 @@ REDRAW_TWOLINES = 00010000b func editor_check_for_changes ;///// EDITOR CHANGES CHECKER ////////////////// ;----------------------------------------------------------------------------- call .check_cursor_visibility - + .direct: xor edx,edx mov eax,[cur_editor.Lines.Count]