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 committed by Lauri Kasanen
parent 25b8e64adb
commit d7198cbe5d

View File

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