Cleanup: right shift in interface code

This commit is contained in:
2018-07-01 19:57:31 +02:00
parent 71e65daf5c
commit 26c5a1c301
13 changed files with 387 additions and 269 deletions

View File

@@ -316,8 +316,9 @@ int UI_calc_float_precision(int prec, double value)
bool UI_but_online_manual_id(const uiBut *but, char *r_str, size_t maxlength)
{
if (but->rnapoin.id.data && but->rnapoin.data && but->rnaprop) {
BLI_snprintf(r_str, maxlength, "%s.%s", RNA_struct_identifier(but->rnapoin.type),
RNA_property_identifier(but->rnaprop));
BLI_snprintf(
r_str, maxlength, "%s.%s", RNA_struct_identifier(but->rnapoin.type),
RNA_property_identifier(but->rnaprop));
return true;
}
else if (but->optype) {