This commit is contained in:
Ryan Oldenburg 2022-05-12 20:14:16 -05:00
parent 33fa4e6390
commit c280cd7864

View file

@ -768,7 +768,7 @@ proc decodeBlock(state: var DecoderState, comp, row, column: int) =
else:
state.decodeRegularBlock(comp, data)
template checkReset(state: var DecoderState) =
proc checkReset(state: var DecoderState) =
## Check if we might have run into a reset marker, then deal with it.
dec state.todo
if state.todo <= 0: