diff options
Diffstat (limited to 'java/com/tigervnc/vncviewer/VncViewer.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/VncViewer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/tigervnc/vncviewer/VncViewer.java b/java/com/tigervnc/vncviewer/VncViewer.java index 85da2499..bb2cbabc 100644 --- a/java/com/tigervnc/vncviewer/VncViewer.java +++ b/java/com/tigervnc/vncviewer/VncViewer.java @@ -143,7 +143,7 @@ public class VncViewer extends java.applet.Applet implements Runnable usage(); } - if (vncServerName.getValue() == null) + if (vncServerName.getValue() == "") vncServerName.setParam(argv[i]); } @@ -366,7 +366,7 @@ public class VncViewer extends java.applet.Applet implements Runnable StringParameter passwordFile = new StringParameter("PasswordFile", "Password file for VNC authentication", - null); + ""); AliasParameter passwd = new AliasParameter("passwd", "Alias for PasswordFile", |