diff options
Diffstat (limited to 'src/format.cc')
-rw-r--r-- | src/format.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/format.cc b/src/format.cc index 6620e5a4..ecac1133 100644 --- a/src/format.cc +++ b/src/format.cc @@ -345,7 +345,8 @@ void format_t::format(std::ostream& out_str, scope_t& scope) } DEBUG("format.expr", "value = (" << value << ")"); - value.print(out, elem->min_width); + value.print(out, elem->min_width, -1, + ! elem->has_flags(ELEMENT_ALIGN_LEFT)); } catch (const calc_error&) { add_error_context(_("While calculating format expression:")); |