From d96b0532ba703fc25404b57766f6598c94696f09 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Mon, 2 Dec 2019 22:01:29 +0000 Subject: [PATCH] icon_new: Fix off-by-one bug in icon deletion. git-svn-id: svn://kolibrios.org@7704 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/icon_new/RButton.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/system/icon_new/RButton.inc b/programs/system/icon_new/RButton.inc index 2f40bd9d08..792d16923b 100644 --- a/programs/system/icon_new/RButton.inc +++ b/programs/system/icon_new/RButton.inc @@ -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]