* ext.c (regex_command): Use "%s" as text argument.

This commit is contained in:
Andrew V. Samoilov 2002-09-01 07:38:24 +00:00
parent dd3e9e07c6
commit 17a8ca0706
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@
* ext.c (regex_command): Use "%s" as text argument. * ext.c (regex_command): Use "%s" as text argument.
* win.c (key_name_conv_tab): Fix initialization.
2002-08-31 Pavel Roskin <proski@gnu.org> 2002-08-31 Pavel Roskin <proski@gnu.org>
* help.c (show): Fix segfault on unterminated help files. * help.c (show): Fix segfault on unterminated help files.

View File

@ -494,7 +494,7 @@ regex_command (char *filename, char *action, int *move_dir)
with version 3.0. It seems that installation\n\ with version 3.0. It seems that installation\n\
failed. Please fetch a fresh new copy from the\n\ failed. Please fetch a fresh new copy from the\n\
Midnight Commander package."), NULL); Midnight Commander package."), NULL);
message (1, msg, msg2); message (1, msg, "%s", msg2);
g_free (msg); g_free (msg);
g_free (msg2); g_free (msg2);
return 0; return 0;
@ -513,7 +513,7 @@ copy it from "), mc_home, _("mc.ext or use that\n\
file as an example of how to write it.\n\ file as an example of how to write it.\n\
"), mc_home, _("mc.ext will be used for this moment."), "), mc_home, _("mc.ext will be used for this moment."),
NULL); NULL);
message (1, msg, msg2); message (1, msg, "%s", msg2);
g_free (msg); g_free (msg);
g_free (msg2); g_free (msg2);
} }