#include "error.h"
#include "format.h"
+/** The three different alignment types. */
enum alignment {ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER};
struct num_format {
align = af->sf.align;
val = align_string(values[idx].string_value, fi->width, align);
} else {
- char unit;
align = af->nf.align;
- unit = af->nf.unit;
val = align_unsigned_int(values[idx].num_value,
fi->width, &af->nf, type);
}