* wtools.c (mc_message): Fix argument expansion.

This commit is contained in:
Pavel Roskin 2003-10-25 22:13:01 +00:00
parent 00d12acfb3
commit d999b186f1
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2003-10-25 Pavel Roskin <proski@gnu.org>
* wtools.c (mc_message): Fix argument expansion.
* background.c: Leave only code used when WITH_BACKGROUND is
defined. The rest goes ...
* wtools.c: ... here.

View File

@ -287,10 +287,10 @@ mc_message (int flags, char *title, const char *text, ...)
if (title == MSG_ERROR)
title = _("Error");
parent_call ((void *) bg_message, NULL, 3, sizeof (flags), &flags,
strlen (title), title, strlen (text), text);
strlen (title), title, strlen (p), p);
} else
#endif /* WITH_BACKGROUND */
message (flags, title, "%s", text);
message (flags, title, "%s", p);
g_free (p);
}