Mercurial > hg > Members > you > TreeVNC
changeset 46:f5690aa77f69
modify VncCanvas.java
author | Yu Taninari <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 03 May 2012 14:23:45 +0900 |
parents | 21fa49d9e0f3 |
children | 65b798ba8145 |
files | src/treeVnc/VncCanvas.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/treeVnc/VncCanvas.java Mon Apr 30 13:40:38 2012 +0900 +++ b/src/treeVnc/VncCanvas.java Thu May 03 14:23:45 2012 +0900 @@ -949,6 +949,7 @@ int tw = Math.min(x + w - tx, 64); int mode = zrleInStream.readU8(); + mode=0; boolean rle = (mode & 128) != 0; int palSize = mode & 127; int[] palette = new int[128];