(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

@@ -1067,7 +1067,8 @@ public:
DrawPixelInfo new_dpi;
if (!FillDrawPixelInfo(&new_dpi, r.left + 1, r.top + 1, r.right - r.left - 1, r.bottom - r.top - 1)) return;
this->DrawSmallMap(&new_dpi);
} break;
break;
}
case SM_WIDGET_LEGEND: {
uint columns = this->GetNumberColumnsLegend(r.right - r.left + 1);
@@ -1152,7 +1153,8 @@ public:
w->viewport->dest_scrollpos_y = pt.y - (w->viewport->virtual_height >> 1);
this->SetDirty();
} break;
break;
}
case SM_WIDGET_ZOOM_IN:
case SM_WIDGET_ZOOM_OUT: {