struct num_format {
enum alignment align;
char unit;
- int supress_unit;
+ int suppress_unit;
};
struct string_format {
case AT_ID:
fi->af.nf.align = ALIGN_RIGHT;
fi->af.nf.unit = ' ';
- fi->af.nf.supress_unit = 0;
+ fi->af.nf.suppress_unit = 0;
break;
case AT_COUNT:
fi->af.nf.align = ALIGN_RIGHT;
fi->af.nf.unit = 'H';
- fi->af.nf.supress_unit = 0;
+ fi->af.nf.suppress_unit = 0;
break;
case AT_SIZE:
fi->af.nf.align = ALIGN_RIGHT;
fi->af.nf.unit = 'h';
- fi->af.nf.supress_unit = 0;
+ fi->af.nf.suppress_unit = 0;
break;
}
if (!col)
goto err;
}
if (col[1] == '*') {
- fi->af.nf.supress_unit = 1;
+ fi->af.nf.suppress_unit = 1;
col++;
}
for (j = 0; units[j]; j++) {
static void get_unit_postfix(struct num_format *nf, char eu, enum atom_type type,
char postfix[2])
{
- if (nf->supress_unit) {
+ if (nf->suppress_unit) {
*postfix = '\0';
return;
}