Consume data properly in Hextile decoder

We accidentally removed the code updating the data index in 8a189a6,
resulting in the decoder newer consuming any data. So the data would
be parsed as the next rect, causing weird errors.
This commit is contained in:
Pierre Ossman 2019-02-14 16:57:26 +01:00
parent 36bfcb0714
commit 17eea9574d
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ export default class HextileDecoder {
} }
display.finishTile(); display.finishTile();
} }
sock.rQi = rQi;
this._lastsubencoding = subencoding; this._lastsubencoding = subencoding;
this._tiles--; this._tiles--;
} }