Constify get_exec_file
[deliverable/binutils-gdb.git] / gdb / cli-out.c
index c713607e06800201b6b25149ff44ea95360b6fb7..702e4e4dfe2eb187f019a5e7a26ff57092984eb8 100644 (file)
@@ -188,16 +188,15 @@ cli_ui_out::do_field_string (int fldno, int width, ui_align align,
 
 void
 cli_ui_out::do_field_fmt (int fldno, int width, ui_align align,
-                         const char *fldname, const char *format,
-                         va_list args)
+                         const char *fldname, const ui_file_style &style,
+                         const char *format, va_list args)
 {
   if (m_suppress_output)
     return;
 
   std::string str = string_vprintf (format, args);
 
-  do_field_string (fldno, width, align, fldname, str.c_str (),
-                  ui_file_style ());
+  do_field_string (fldno, width, align, fldname, str.c_str (), style);
 }
 
 void
This page took 0.024363 seconds and 4 git commands to generate.