]> Git Repo - qemu.git/commit
vnc: tight: don't forget last pixel in tight_encode_indexed_rect
authorCorentin Chary <[email protected]>
Tue, 1 Jun 2010 21:05:42 +0000 (23:05 +0200)
committerAnthony Liguori <[email protected]>
Tue, 1 Jun 2010 21:15:51 +0000 (16:15 -0500)
commit54d43eacc5ca300d5a5ce5a83abe75e0167946b5
tree5199251812ee587f82015ffbe0dfa6e5cf041713
parent637503d122eb7656d91a8489e254d9e880be7504
vnc: tight: don't forget last pixel in tight_encode_indexed_rect

A simple patch would have been to just remove count -= 1, but this
one also replace the while (count--) with a for(i = 0; i < count; i++)
which I believe is more easy to understand.

Signed-off-by: Corentin Chary <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
vnc-encoding-tight.c
This page took 0.025635 seconds and 4 git commands to generate.