From ac968ca8a5baeceafa73bf20595e19d3c4fb4b7d Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 24 Jun 2021 23:11:47 +0000 Subject: [PATCH] icons: fix http://board.kolibrios.org/viewtopic.php?f=5&t=1602&start=1335#p76058 git-svn-id: svn://kolibrios.org@8942 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/icon_new/Moving.inc | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/programs/system/icon_new/Moving.inc b/programs/system/icon_new/Moving.inc index 85873322c2..8876a3b7ef 100644 --- a/programs/system/icon_new/Moving.inc +++ b/programs/system/icon_new/Moving.inc @@ -68,25 +68,8 @@ proc DrawIconToArea ; repne scasb repne scasb repne scasb - mov al,[edi] - cmp al,'9' - ja .PathToIcon - cmp al,'/' - jne .GetIconInd - .PathToIcon: - mov al,30h ;заглушка!!!!!!!!!!!!! - mov byte[edi+1],0 - .GetIconInd: -;int3 - sub al,30h - cmp byte[edi+1],0 - je @f - shl eax,1 - lea eax,[eax*4+eax] - xor edx,edx - mov dl,[edi+1] - sub dl,30h - add eax,edx + stdcall strToInt,edi + @@: ;eax=num icon cmp eax,[icon_count] jb @f