mirror of
https://github.com/Alcaro/Flips.git
synced 2026-09-07 10:06:09 -05:00
Fix #1
This commit is contained in:
@@ -119,6 +119,10 @@ enum upserror ups_apply(struct mem patch, struct mem in, struct mem * out)
|
||||
while (tmp);
|
||||
}
|
||||
if (patchat!=patchend) error(ups_broken);
|
||||
while (outat<outend && inat<inend)
|
||||
{
|
||||
writeout8(readin8());
|
||||
}
|
||||
while (outat<outend) writeout8(0);
|
||||
while (inat<inend) (void)readin8();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user