forked from KolibriOS/kolibrios
remove unnecessary reserved symbols
git-svn-id: svn://kolibrios.org@7001 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1dff355a6b
commit
f76a3dc90b
@ -520,7 +520,6 @@ edit_box_key.ctrl_v:
|
|||||||
; in ecx size of string to insert
|
; in ecx size of string to insert
|
||||||
add ecx,ed_size
|
add ecx,ed_size
|
||||||
mov edx,ed_max
|
mov edx,ed_max
|
||||||
sub edx,2 ; 2 reserved for edit_box
|
|
||||||
cmp ecx,edx
|
cmp ecx,edx
|
||||||
jb @f
|
jb @f
|
||||||
mov ecx,edx
|
mov ecx,edx
|
||||||
@ -535,7 +534,6 @@ edit_box_key.ctrl_v:
|
|||||||
push eax ; save mem pointer
|
push eax ; save mem pointer
|
||||||
|
|
||||||
mov edx, ed_max
|
mov edx, ed_max
|
||||||
sub edx, 3 ; +1 for StrInsert, +2 as reserved for edit_box
|
|
||||||
|
|
||||||
push dword ed_text ; Dst
|
push dword ed_text ; Dst
|
||||||
push esi ; Src
|
push esi ; Src
|
||||||
|
Loading…
Reference in New Issue
Block a user