Code cleanup: de-duplicate switch statement, style edits

This commit is contained in:
2014-03-13 06:18:25 +11:00
parent deef641878
commit 032b42d48d
7 changed files with 32 additions and 29 deletions

View File

@@ -1096,7 +1096,7 @@ void uiEndBlock(const bContext *C, uiBlock *block)
block->auto_open_last = block->oldblock->auto_open_last;
block->tooltipdisabled = block->oldblock->tooltipdisabled;
copy_v3_v3(ui_block_hsv_get(block),
ui_block_hsv_get(block->oldblock));
ui_block_hsv_get(block->oldblock));
block->oldblock = NULL;
}