style cleanup

This commit is contained in:
2013-01-31 21:15:38 +00:00
parent 64c6736ef2
commit a9015e3f7d
3 changed files with 35 additions and 25 deletions

View File

@@ -1393,7 +1393,7 @@ void ui_but_add_search(uiBut *but, PointerRNA *ptr, PropertyRNA *prop, PointerRN
/* turn button into search button */
if (searchprop) {
if(RNA_property_flag(prop) & PROP_NEVER_UNLINK)
if (RNA_property_flag(prop) & PROP_NEVER_UNLINK)
but->type = SEARCH_MENU;
else
but->type = SEARCH_MENU_UNLINK;