forked from KolibriOS/kolibrios
libimg: icon related bug fixed (reported by Leency)
git-svn-id: svn://kolibrios.org@2284 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9d0d075e30
commit
d8fd58b4f5
@ -321,6 +321,7 @@ img.decode.ico._.decode_icon_mask:
|
||||
pop eax
|
||||
push eax
|
||||
mov ecx, [eax + Image.Width]
|
||||
mov edi, [eax + Image.Data]
|
||||
.bpp24:
|
||||
mov edx, [esp+16] ; get background color
|
||||
.bpp24.extloop:
|
||||
@ -337,7 +338,7 @@ img.decode.ico._.decode_icon_mask:
|
||||
mov [edi+2], dl
|
||||
ror edx, 16
|
||||
@@:
|
||||
add edi, 4
|
||||
add edi, 3
|
||||
dec ecx
|
||||
jz @f
|
||||
dec dword [esp]
|
||||
|
Loading…
Reference in New Issue
Block a user