forked from KolibriOS/kolibrios
icon_new: Fix off-by-one bug in icon deletion.
git-svn-id: svn://kolibrios.org@7704 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
773bfc7a0e
commit
d96b0532ba
@ -369,7 +369,7 @@ RBDelete:
|
||||
|
||||
stdcall DelIcon,[SelIcon]
|
||||
mov ebx,[SelIcon]
|
||||
lea edi,[IconsID+ebx*4-4]
|
||||
lea edi,[IconsID+ebx*4]
|
||||
lea esi,[edi+4]
|
||||
mov ecx,[MaxNumIcon]
|
||||
sub ecx,[SelIcon]
|
||||
|
Loading…
Reference in New Issue
Block a user