(svn r20281) -Codechange: unify case scope closure + break coding style

This commit is contained in:
rubidium
2010-08-01 18:53:30 +00:00
parent 605f6d0ed3
commit e356cb9405
66 changed files with 427 additions and 215 deletions

View File

@@ -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;