small bugfix in @rcher

git-svn-id: svn://kolibrios.org@678 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2007-12-08 16:34:10 +00:00
parent 51847d89ad
commit 3ce0c6763b

View File

@ -325,7 +325,6 @@ PngParse:
add esi,8
cmp dword[esi+4],'IHDR'
rep_err e,52, 18
or [Flags],PNG_MODE
memcpy_esi PNG_info,13,8
mov eax,[PNG_info.Width]
bswap eax
@ -348,6 +347,7 @@ PngParse:
add esi,25
cmp byte[esi-5],0
rep_err e,52,29
or [Flags],PNG_MODE
.nxt_sec:
lodsd
bswap eax ; eax - section size