update case

This commit is contained in:
Yihao Deng 2024-06-20 02:02:22 +00:00
parent 639df3dfad
commit d0d155171c
1 changed files with 3 additions and 3 deletions

View File

@ -2956,12 +2956,12 @@ int8_t tUpdateCompress(uint32_t oldCmpr, uint32_t newCmpr, uint8_t l2Disabled, u
if (update == 0) {
if (ol2 == L2_DISABLED) {
update = -1;
return update;
}
}
} else {
SET_COMPRESS(ol1, ol2, nlvl, *dst);
update = 1;
}
}
return update;
}