aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/DesktopWindow.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index 1693ab55..122a54da 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -105,7 +105,9 @@ DesktopWindow::DesktopWindow(int w, int h, const char *name,
case 2:
w = geom_w;
h = geom_h;
+ break;
default:
+ geom_x = geom_y = 0;
vlog.error("Invalid geometry specified!");
}
}