proc
This commit is contained in:
parent
33fa4e6390
commit
c280cd7864
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ proc decodeBlock(state: var DecoderState, comp, row, column: int) =
|
||||||
else:
|
else:
|
||||||
state.decodeRegularBlock(comp, data)
|
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.
|
## Check if we might have run into a reset marker, then deal with it.
|
||||||
dec state.todo
|
dec state.todo
|
||||||
if state.todo <= 0:
|
if state.todo <= 0:
|
||||||
|
|
Loading…
Reference in a new issue