Mercurial > hg > Members > riono > TreeVNC_ja_comment
changeset 357:7c763b2a01a5
fix set next display width value
author | oc |
---|---|
date | Tue, 24 Feb 2015 18:28:48 +0900 |
parents | 2b4251bd5996 |
children | 59b1ef1b0a89 |
files | src/main/java/com/glavsoft/rfb/protocol/state/InitState.java src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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) {
--- 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() {