aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vncviewer/DesktopWindow.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index f35457d7..37b94104 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -93,15 +93,15 @@ DesktopWindow::DesktopWindow(int w, int h, const char *name,
matched = sscanf(geometry.getValueStr(), "%dx%d+%d+%d", &geom_w, &geom_h, &geom_x, &geom_y);
switch (matched) {
case 4:
- force_position(1);
- /* fall through */
+ force_position(1);
+ /* fall through */
case 2:
- w = geom_w;
- h = geom_h;
- break;
+ w = geom_w;
+ h = geom_h;
+ break;
default:
- geom_x = geom_y = 0;
- vlog.error("Invalid geometry specified!");
+ geom_x = geom_y = 0;
+ vlog.error("Invalid geometry specified!");
}
}
}