mirror of https://github.com/MidnightCommander/mc
* wtools.c (mc_message): Fix argument expansion.
This commit is contained in:
parent
00d12acfb3
commit
d999b186f1
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue