Mercurial > pidgin
changeset 8578:089a3400b2aa
[gaim-migrate @ 9327]
a literal %s is decidedly unhelpful
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 04 Apr 2004 18:33:26 +0000 |
parents | 599d6ac9bbfe |
children | 8720427121f5 |
files | src/log.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/log.c Sun Apr 04 18:27:45 2004 +0000 +++ b/src/log.c Sun Apr 04 18:33:26 2004 +0000 @@ -573,7 +573,7 @@ g_free(read); return minus_header; } - return g_strdup(_("<font color=\"red\"><b>Could not read file: %s</b></font>")); + return g_strdup_printf(_("<font color=\"red\"><b>Could not read file: %s</b></font>"), data->path); } static void html_logger_create(GaimLog *log) @@ -761,7 +761,7 @@ g_free(minus_header); return minus_header2; } - return g_strdup(_("<font color=\"red\"><b>Could not read file: %s</b></font>")); + return g_strdup_printf(_("<font color=\"red\"><b>Could not read file: %s</b></font>"), data->path); } static void txt_logger_create(GaimLog *log)