Cleanup: move trailing comments to avoid wrapping code

Some statements were split across multiple lines because of their
trailing comments.

In most cases it's clearer to put the comments above.
This commit is contained in:
2019-08-14 23:29:46 +10:00
parent bc4fe45aef
commit 03b2371387
72 changed files with 311 additions and 239 deletions

View File

@@ -417,8 +417,9 @@ void ui_rna_collection_search_cb(const struct bContext *C,
}
}
name = RNA_struct_name_get_alloc(
&itemptr, NULL, 0, NULL); /* could use the string length here */
/* Could use the string length here. */
name = RNA_struct_name_get_alloc(&itemptr, NULL, 0, NULL);
iconid = 0;
if (itemptr.type && RNA_struct_is_ID(itemptr.type)) {
iconid = ui_id_icon_get(C, itemptr.data, false);