Mercurial > hg > Applications > TreeVNC
changeset 273:5bab82abcc4f
fix --fixSize option name and input option arguments at console.
author | oc |
---|---|
date | Thu, 18 Dec 2014 01:23:26 +0900 |
parents | d3a921d16121 |
children | f80c9789f63e |
files | src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java Mon Dec 15 13:48:19 2014 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java Thu Dec 18 01:23:26 2014 +0900 @@ -101,11 +101,11 @@ permitChangeScreen = false; } else if ("--noScreenChange".equals(args[i])) { permitChangeScreen = false; - } else if ("--fixingSize".equals(args[i])) { + } else if ("--fixSize".equals(args[i])) { // retina display too large for TreeVNC. // restrict display size. - fixingSizeWidth = 1280; - fixingSizeHeight = 800; + fixingSizeWidth = Integer.parseInt(args[++i]); + fixingSizeHeight = Integer.parseInt(args[++i]); fixingSizeDisplay = true; } else if ("--filterSingleDisplay".equals(args[i])) { // retina display too large for TreeVNC.