code cleanup: style & warnings.

This commit is contained in:
2013-01-21 02:30:40 +00:00
parent add25e43ad
commit 38cee985bb
13 changed files with 82 additions and 78 deletions

View File

@@ -1154,8 +1154,9 @@ int ui_handler_panel_region(bContext *C, wmEvent *event)
if (block->rect.xmin <= mx && block->rect.xmin + PNL_HEADER >= mx)
inside_header = 1;
}
else if (block->rect.xmin > mx || block->rect.xmax < mx);
else if (block->rect.xmin > mx || block->rect.xmax < mx) {
/* outside left/right side */
}
else if ((block->rect.ymax <= my) && (block->rect.ymax + PNL_HEADER >= my)) {
inside_header = 1;
}