+Sat Jul 30 22:46:10 2005 Ben Pfaff <blp@gnu.org>
+
+ * format.c: (check_common_specifier) Fix msg() bug found by
+ -Wformat.
+ (check_output_specifier) Ditto.
+
Sat Jul 30 22:43:57 2005 Ben Pfaff <blp@gnu.org>
* file-handle.q: (cmd_file_handle) Fix msg() bug found by
{
if (emit_error)
msg (SE, _("Format %s specifies an odd width %d, but "
- "format %s requires an even width."),
- str, spec->w, f->name, f->Imin_w, f->Imax_w);
+ "an even width is required."),
+ str, spec->w);
return false;
}
if (f->n_args > 1 && (spec->d < 0 || spec->d > 16))
"many decimal places as the field width, which "
"fails to allow space for a decimal point. "
"Try %s%d.%d instead."),
- str, f->name, f->name, spec->d + 1, spec->d);
+ str, f->name, spec->d + 1, spec->d);
return 0;
}
return 1;