style chang, made mainly because I wanted to be able to add breakpoints to MEM_freeN calls which were on the same line as the if's.

This commit is contained in:
2012-01-21 22:00:40 +00:00
parent b7fbfdbf56
commit b95beea539
8 changed files with 84 additions and 38 deletions

View File

@@ -772,8 +772,9 @@ static int uiAlignPanelStep(ScrArea *sa, ARegion *ar, float fac, int drag)
ui_panel_copy_offset(pa, pa->paneltab);
/* free panelsort array */
for(ps= panelsort, a=0; a<tot; a++, ps++)
for (ps = panelsort, a = 0; a < tot; a++, ps++) {
MEM_freeN(ps->pa);
}
MEM_freeN(panelsort);
return done;