forked from KolibriOS/kolibrios
small bugfix in @rcher
git-svn-id: svn://kolibrios.org@678 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
51847d89ad
commit
3ce0c6763b
@ -325,7 +325,6 @@ PngParse:
|
|||||||
add esi,8
|
add esi,8
|
||||||
cmp dword[esi+4],'IHDR'
|
cmp dword[esi+4],'IHDR'
|
||||||
rep_err e,52, 18
|
rep_err e,52, 18
|
||||||
or [Flags],PNG_MODE
|
|
||||||
memcpy_esi PNG_info,13,8
|
memcpy_esi PNG_info,13,8
|
||||||
mov eax,[PNG_info.Width]
|
mov eax,[PNG_info.Width]
|
||||||
bswap eax
|
bswap eax
|
||||||
@ -348,6 +347,7 @@ PngParse:
|
|||||||
add esi,25
|
add esi,25
|
||||||
cmp byte[esi-5],0
|
cmp byte[esi-5],0
|
||||||
rep_err e,52,29
|
rep_err e,52,29
|
||||||
|
or [Flags],PNG_MODE
|
||||||
.nxt_sec:
|
.nxt_sec:
|
||||||
lodsd
|
lodsd
|
||||||
bswap eax ; eax - section size
|
bswap eax ; eax - section size
|
||||||
|
Loading…
Reference in New Issue
Block a user