double break statements :) oops

This commit is contained in:
Dana Jansens 2003-04-03 14:17:26 +00:00
parent 43f1d3faca
commit 400003f4f3

View file

@ -451,7 +451,6 @@ static void cur_row_col(guint *r, guint *c)
screen_desktop / screen_desktop_layout.columns; screen_desktop / screen_desktop_layout.columns;
*c = screen_desktop % screen_desktop_layout.columns; *c = screen_desktop % screen_desktop_layout.columns;
break; break;
break;
case Corner_TopRight: case Corner_TopRight:
*r = screen_desktop / screen_desktop_layout.columns; *r = screen_desktop / screen_desktop_layout.columns;
*c = screen_desktop_layout.columns - 1 - *c = screen_desktop_layout.columns - 1 -
@ -463,8 +462,8 @@ static void cur_row_col(guint *r, guint *c)
*c = screen_desktop_layout.columns - 1 - *c = screen_desktop_layout.columns - 1 -
screen_desktop % screen_desktop_layout.columns; screen_desktop % screen_desktop_layout.columns;
break; break;
break;
} }
break;
case Orientation_Vert: case Orientation_Vert:
switch (screen_desktop_layout.start_corner) { switch (screen_desktop_layout.start_corner) {
case Corner_TopLeft: case Corner_TopLeft:
@ -476,7 +475,6 @@ static void cur_row_col(guint *r, guint *c)
screen_desktop % screen_desktop_layout.rows; screen_desktop % screen_desktop_layout.rows;
*c = screen_desktop / screen_desktop_layout.rows; *c = screen_desktop / screen_desktop_layout.rows;
break; break;
break;
case Corner_TopRight: case Corner_TopRight:
*r = screen_desktop % screen_desktop_layout.rows; *r = screen_desktop % screen_desktop_layout.rows;
*c = screen_desktop_layout.columns - 1 - *c = screen_desktop_layout.columns - 1 -
@ -488,7 +486,6 @@ static void cur_row_col(guint *r, guint *c)
*c = screen_desktop_layout.columns - 1 - *c = screen_desktop_layout.columns - 1 -
screen_desktop / screen_desktop_layout.rows; screen_desktop / screen_desktop_layout.rows;
break; break;
break;
} }
break; break;
} }