forked from KolibriOS/kolibrios
various fixes in tinypad
git-svn-id: svn://kolibrios.org@5579 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -197,10 +197,11 @@ mouse:
|
||||
mov ecx,6
|
||||
idiv ecx
|
||||
@@: add eax,[cur_editor.TopLeft.X]
|
||||
|
||||
cmp eax,[cur_editor.Columns.Count]
|
||||
mov ecx, ebx
|
||||
call get_line_offset
|
||||
cmp eax,[esi]
|
||||
jl @f
|
||||
mov eax,[cur_editor.Columns.Count]
|
||||
mov eax,[esi]
|
||||
@@: cmp ebx,[cur_editor.Lines.Count]
|
||||
jl @f
|
||||
mov ebx,[cur_editor.Lines.Count]
|
||||
|
Reference in New Issue
Block a user