git-svn-id: svn://kolibrios.org@8942 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2021-06-24 23:11:47 +00:00
parent 6a39cd2c88
commit ac968ca8a5

View File

@ -68,25 +68,8 @@ proc DrawIconToArea ;
repne scasb repne scasb
repne scasb repne scasb
repne scasb repne scasb
mov al,[edi] stdcall strToInt,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
@@: ;eax=num icon @@: ;eax=num icon
cmp eax,[icon_count] cmp eax,[icon_count]
jb @f jb @f