aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2012-08-27 08:02:36 +0000
committerPeter Åstrand <astrand@cendio.se>2012-08-27 08:02:36 +0000
commit63d75cc0657933af9aab76caa52d7c7fdff2625a (patch)
treef4c7f5b71e93c8a904293d1a10a96db23cee0713 /vncviewer
parentb182a9e03d672038a228d32d2afa37884ac4c61a (diff)
downloadtigervnc-63d75cc0657933af9aab76caa52d7c7fdff2625a.tar.gz
tigervnc-63d75cc0657933af9aab76caa52d7c7fdff2625a.zip
Update to last patch; forgot break in switch statement.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4973 3789f03b-4d11-0410-bbf8-ca57d06f2519
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!");
}
}