diff options
Diffstat (limited to 'gcc/text-art/styled-string.cc')
-rw-r--r-- | gcc/text-art/styled-string.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/text-art/styled-string.cc b/gcc/text-art/styled-string.cc index a0cc187..1a66a15 100644 --- a/gcc/text-art/styled-string.cc +++ b/gcc/text-art/styled-string.cc @@ -563,10 +563,7 @@ styled_string::from_fmt_va (style_manager &sm, const char *fmt, va_list *args) { - text_info text; - text.err_no = errno; - text.args_ptr = args; - text.format_spec = fmt; + text_info text (fmt, args, errno); pretty_printer pp; pp_show_color (&pp) = true; pp.url_format = URL_FORMAT_DEFAULT; |