commit | 54d43eacc5ca300d5a5ce5a83abe75e0167946b5 | [log] [tgz] |
---|---|---|
author | Corentin Chary <corentincj@iksaif.net> | Tue Jun 01 23:05:42 2010 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Jun 01 16:15:51 2010 -0500 |
tree | 5199251812ee587f82015ffbe0dfa6e5cf041713 | |
parent | 637503d122eb7656d91a8489e254d9e880be7504 [diff] |
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 <corentincj@iksaif.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>