+Sat Jul 30 23:05:33 2005 Ben Pfaff <blp@gnu.org>
+
+ * vars-atr.c: (var_is_valid_name) Fix three msg() bugs found by
+ -Wformat.
+
Sat Jul 30 22:58:33 2005 Ben Pfaff <blp@gnu.org>
* rank.q: (parse_rank_function) Fix msg() bug found by -Wformat.
{
if (issue_error)
msg (SE, _("Variable name %s exceeds %d-character limit."),
- (int) LONG_NAME_LEN);
+ name, (int) LONG_NAME_LEN);
return false;
}
if (issue_error)
msg (SE, _("Character `%c' (in %s) may not appear in "
"a variable name."),
- name);
+ name[i], name);
return false;
}
{
if (issue_error)
msg (SE, _("Character `%c' (in %s), may not appear "
- "as the first character in a variable name."), name);
+ "as the first character in a variable name."),
+ name[0], name);
return false;
}