diff src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java @ 532:9292035b8d93

fix forloop
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 05 May 2019 15:56:33 +0900
parents fcd833c2e148
children 355954eac478
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java	Sat May 04 14:17:33 2019 +0900
+++ b/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java	Sun May 05 15:56:33 2019 +0900
@@ -245,6 +245,7 @@
         try {
             reader.readByte(); // padding
             numberOfRectangles = reader.readUInt16();
+            this.numberOfRectangles = numberOfRectangles;
             if(numberOfRectangles > 3) {
                 System.out.println("numberofrectangle : " + numberOfRectangles);
                 if (rfb.getViewer().getUseMulticast()){