diff options
author | Brian Hinz <bphinz@users.sourceforge.net> | 2012-05-07 01:02:24 +0000 |
---|---|---|
committer | Brian Hinz <bphinz@users.sourceforge.net> | 2012-05-07 01:02:24 +0000 |
commit | 8970bf4ddb106dc880cd37b916a2cc4c2f08168d (patch) | |
tree | b64590ac0e321a1744eca4ff187017da9ba1d088 /java | |
parent | 188080b6334a533395b08d2801d4db3c96986145 (diff) | |
download | tigervnc-8970bf4ddb106dc880cd37b916a2cc4c2f08168d.tar.gz tigervnc-8970bf4ddb106dc880cd37b916a2cc4c2f08168d.zip |
Reverted change introduced in r4910, r4911 didn't fix the problem that was created.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4912 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java')
-rw-r--r-- | java/com/tigervnc/vncviewer/VncViewer.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/com/tigervnc/vncviewer/VncViewer.java b/java/com/tigervnc/vncviewer/VncViewer.java index bb2cbabc..a62d7365 100644 --- a/java/com/tigervnc/vncviewer/VncViewer.java +++ b/java/com/tigervnc/vncviewer/VncViewer.java @@ -143,8 +143,9 @@ public class VncViewer extends java.applet.Applet implements Runnable usage(); } - if (vncServerName.getValue() == "") - vncServerName.setParam(argv[i]); + if (vncServerName.getValue() != null) + usage(); + vncServerName.setParam(argv[i]); } } |