code cleanup: favor braces when blocks have mixed brace use.

This commit is contained in:
2013-03-09 03:46:30 +00:00
parent 9e1ead1940
commit ddddb7bab1
84 changed files with 689 additions and 322 deletions

View File

@@ -1292,7 +1292,9 @@ static void widget_draw_text_icon(uiFontStyle *fstyle, uiWidgetColors *wcol, uiB
else if ((but->block->flag & UI_BLOCK_LOOP) && (but->type == BUT)) {
ui_text_clip_left(fstyle, but, rect);
}
else but->ofs = 0;
else {
but->ofs = 0;
}
/* check for button text label */
if (but->type == ICONTEXTROW) {