Tinypad 4.0.4 (small bugfix again, same place)

git-svn-id: svn://kolibrios.org@312 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Mihail Semenyako (mike.dld) 2007-02-01 21:38:23 +00:00
parent f050c18f32
commit 2c4d922032
2 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ button:
jns @f jns @f
inc [cur_editor.TopLeft.Y] inc [cur_editor.TopLeft.Y]
ret ret
@@: call editor_check_for_changes @@: call editor_check_for_changes.direct
ret ret
btn.vscroll_down: btn.vscroll_down:
@ -58,7 +58,7 @@ button:
jge @f jge @f
dec [cur_editor.TopLeft.Y] dec [cur_editor.TopLeft.Y]
ret ret
@@: call editor_check_for_changes @@: call editor_check_for_changes.direct
ret ret
btn.hscroll_up: btn.hscroll_up:
@ -66,7 +66,7 @@ button:
jns @f jns @f
inc [cur_editor.TopLeft.X] inc [cur_editor.TopLeft.X]
ret ret
@@: call editor_check_for_changes @@: call editor_check_for_changes.direct
ret ret
btn.hscroll_down: btn.hscroll_down:
@ -77,7 +77,7 @@ button:
jge @f jge @f
dec [cur_editor.TopLeft.X] dec [cur_editor.TopLeft.X]
ret ret
@@: call editor_check_for_changes @@: call editor_check_for_changes.direct
ret ret
btn.tabctl_right: btn.tabctl_right:

View File

@ -996,7 +996,7 @@ REDRAW_TWOLINES = 00010000b
func editor_check_for_changes ;///// EDITOR CHANGES CHECKER ////////////////// func editor_check_for_changes ;///// EDITOR CHANGES CHECKER //////////////////
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
call .check_cursor_visibility call .check_cursor_visibility
.direct:
xor edx,edx xor edx,edx
mov eax,[cur_editor.Lines.Count] mov eax,[cur_editor.Lines.Count]