diff --git a/lib/format_text/export.c b/lib/format_text/export.c index a762c742d..810c93205 100644 --- a/lib/format_text/export.c +++ b/lib/format_text/export.c @@ -858,7 +858,7 @@ static int _print_historical_lv(struct formatter *f, struct historical_logical_v if (!_alloc_printed_indirect_descendants(&hlv->indirect_glvs, &descendants_buffer)) goto_out; - outnl(f); + outnlgo(f); outfgo(f, "%s {", hlv->name); _inc_indent(f); diff --git a/lib/format_text/text_export.h b/lib/format_text/text_export.h index 377ee9367..c20c234d5 100644 --- a/lib/format_text/text_export.h +++ b/lib/format_text/text_export.h @@ -22,6 +22,7 @@ #define outf(args...) do {if (!out_text(args)) return_0;} while (0) #define outfgo(args...) do {if (!out_text(args)) goto_out;} while (0) #define outnl(f) do {if (!out_newline(f)) return_0;} while (0) +#define outnlgo(f) do {if (!out_newline(f)) goto_out;} while (0) struct formatter; struct lv_segment;