diff options
| author | Corentin Chary | 2010-06-01 23:05:42 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2010-06-01 23:15:51 +0200 |
| commit | 54d43eacc5ca300d5a5ce5a83abe75e0167946b5 (patch) | |
| tree | 5199251812ee587f82015ffbe0dfa6e5cf041713 /exec.c | |
| parent | Monitor: Drop QMP documentation from code (diff) | |
| download | qemu-54d43eacc5ca300d5a5ce5a83abe75e0167946b5.tar.gz qemu-54d43eacc5ca300d5a5ce5a83abe75e0167946b5.tar.xz qemu-54d43eacc5ca300d5a5ce5a83abe75e0167946b5.zip | |
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>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions
