Cleanup: style

This commit is contained in:
Campbell Barton 2015-10-03 08:22:48 +10:00
parent caf98e29c5
commit 41d0547490
2 changed files with 3 additions and 2 deletions

View File

@ -6708,12 +6708,12 @@ static bool ui_but_menu(bContext *C, uiBut *but)
but2 = uiDefIconTextBut(block, UI_BTYPE_BUT, 0, ICON_NONE,
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Change Shortcut"),
0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0, "");
0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0, "");
UI_but_func_set(but2, popup_change_shortcut_func, but, NULL);
but2 = uiDefIconTextBut(block, UI_BTYPE_BUT, 0, ICON_NONE,
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Remove Shortcut"),
0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0, "");
0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0, "");
UI_but_func_set(but2, remove_shortcut_func, but, NULL);
}
else {

View File

@ -532,6 +532,7 @@ void filelist_sort(struct FileList *filelist)
case FILE_SORT_NONE: /* Should never reach this point! */
default:
BLI_assert(0);
break;
}
filelist_filter_clear(filelist);