mirror of
https://github.com/decompals/wibo.git
synced 2025-10-17 07:35:11 +00:00
tweak initterms_e again
This commit is contained in:
parent
4fdeffba3c
commit
83ef667cfb
@ -19,8 +19,8 @@ namespace msvcrt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int WIN_FUNC _initterm_e(const _PIFV *ppfn, const _PIFV *end) {
|
int WIN_FUNC _initterm_e(const _PIFV *ppfn, const _PIFV *end) {
|
||||||
while (ppfn < end) {
|
for (; ppfn < end; ppfn++) {
|
||||||
_PIFV func = *ppfn++;
|
_PIFV func = *ppfn;
|
||||||
if (func) {
|
if (func) {
|
||||||
int err = func();
|
int err = func();
|
||||||
if (err != 0)
|
if (err != 0)
|
||||||
@ -29,6 +29,7 @@ namespace msvcrt {
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user