Mercurial > hg > Applications > TreeVNC
changeset 584:583ee48d735b
fix
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 09 Feb 2020 02:03:59 +0900 |
parents | 2fe1be5476a6 |
children | f07cae18a806 |
files | src/main/java/com/glavsoft/rfb/encoding/decoder/ZRLEDecoder.java |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/encoding/decoder/ZRLEDecoder.java Sat Feb 08 23:38:08 2020 +0900 +++ b/src/main/java/com/glavsoft/rfb/encoding/decoder/ZRLEDecoder.java Sun Feb 09 02:03:59 2020 +0900 @@ -194,9 +194,7 @@ if (c1rect.height==0) c1rect.height = tileH; if (c1rect.x > rect.x) { // phase 0 assert(c0rect==null); - if (c1rect.x + c1rect.width < rect.x + rect.width) { - - } else { // end of phase 0 + if (c1rect.x + c1rect.width >= rect.x + rect.width) { // end of phase 0 c1rect.height = c1rect.height - tileHeight; flushRectangle(c1rect); c1.position((c1.position()+16)); // make next header space