# HG changeset patch # User oc # Date 1424770128 -32400 # Node ID 7c763b2a01a5023fa5d554d661507dfe384a7cc8 # Parent 2b4251bd599671c9a11648541bea757d9d2d0bb0 fix set next display width value diff -r 2b4251bd5996 -r 7c763b2a01a5 src/main/java/com/glavsoft/rfb/protocol/state/InitState.java --- a/src/main/java/com/glavsoft/rfb/protocol/state/InitState.java Tue Feb 24 18:10:24 2015 +0900 +++ b/src/main/java/com/glavsoft/rfb/protocol/state/InitState.java Tue Feb 24 18:28:48 2015 +0900 @@ -70,9 +70,9 @@ protected void clientAndServerInit() throws TransportException { ServerInitMessage serverInitMessage = getServerInitMessage(); - ProtocolSettings settings = context.getSettings(); - settings.enableAllEncodingCaps(); - completeContextData(serverInitMessage); + ProtocolSettings settings = context.getSettings(); + settings.enableAllEncodingCaps(); + completeContextData(serverInitMessage); } public void completeContextData(ServerInitMessage serverInitMessage) { diff -r 2b4251bd5996 -r 7c763b2a01a5 src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java --- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Tue Feb 24 18:10:24 2015 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Tue Feb 24 18:28:48 2015 +0900 @@ -933,7 +933,7 @@ public void setNextSingleDisplaySize(int singleWidth, int singleHeight) { this.nextSingleWidth = singleWidth; - this.nextSingleWidth = singleHeight; + this.nextSingleHeight = singleHeight; } public int getSingleWidth() {