aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vncviewer/vncviewer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index 0b2de53e..a60f000a 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -425,6 +425,7 @@ int main(int argc, char** argv)
try {
defaultServerName = loadViewerParameters(NULL);
} catch (rfb::Exception& e) {
+ defaultServerName = "";
fl_alert("%s", e.str());
}