From e356cb94050797cccbf05b3a411105528da8ee90 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 Aug 2010 18:53:30 +0000 Subject: (svn r20281) -Codechange: unify case scope closure + break coding style --- src/misc_gui.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/misc_gui.cpp') diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index a4b2102c8..a705cd403 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1363,7 +1363,8 @@ struct QueryStringWindow : public QueryStringBaseWindow case HEBR_EDITING: { Window *osk = FindWindowById(WC_OSK, 0); if (osk != NULL && osk->parent == this) osk->InvalidateData(); - } break; + break; + } case HEBR_CONFIRM: this->OnOk(); /* FALL THROUGH */ case HEBR_CANCEL: delete this; break; // close window, abandon changes @@ -1515,7 +1516,8 @@ struct QueryWindow : public Window { proc(parent, true); proc = NULL; } - } break; + break; + } case QUERY_WIDGET_NO: delete this; break; -- cgit v1.2.3-54-g00ecf