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:
Ivan Baravy 2019-12-02 22:01:29 +00:00
parent 773bfc7a0e
commit d96b0532ba

View File

@ -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]