diff --git a/programs/develop/libraries/libs-dev/libini/libini.asm b/programs/develop/libraries/libs-dev/libini/libini.asm index 4de3314b97..e2b2405d49 100644 --- a/programs/develop/libraries/libs-dev/libini/libini.asm +++ b/programs/develop/libraries/libs-dev/libini/libini.asm @@ -777,8 +777,9 @@ endl .searchEndSect: mov al,'[' repne scasb - + jnz @f dec edi + @@: mov [endDel],edi test ecx,ecx @@ -798,7 +799,6 @@ endl mov eax,dword[funcFile+12] sub eax,[endDel] add eax,[begDel] - dec eax mov dword[funcFile],2 ;write buffer to file mov dword[funcFile+12],eax