From d09bf63180e0fd1ef51c5e537fff9c4a556aa6e4 Mon Sep 17 00:00:00 2001 From: Theppitak Karoonboonyanan Date: Tue, 16 Jan 2007 05:07:37 +0000 Subject: [PATCH] Format string is corrected, fixes bug #397129. 2007-01-16 Theppitak Karoonboonyanan * backend/dvi/mdvi-lib/fontmap.c: (mdvi_load_fontmap): Format string is corrected, fixes bug #397129. svn path=/trunk/; revision=2228 --- ChangeLog | 6 ++++++ backend/dvi/mdvi-lib/fontmap.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a2c81b6..0f387337 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-16 Theppitak Karoonboonyanan + + * backend/dvi/mdvi-lib/fontmap.c: (mdvi_load_fontmap): + + Format string is corrected, fixes bug #397129. + 2007-01-14 Carlos Garcia Campos * shell/ev-window.c: (ev_window_setup_recent): diff --git a/backend/dvi/mdvi-lib/fontmap.c b/backend/dvi/mdvi-lib/fontmap.c index cc610643..6aa87e03 100644 --- a/backend/dvi/mdvi-lib/fontmap.c +++ b/backend/dvi/mdvi-lib/fontmap.c @@ -587,7 +587,8 @@ DviFontMapEnt *mdvi_load_fontmap(const char *file) if(ent->encoding && !STREQ(ent->encoding, enc->name)) { warning( _("%s: %d: [%s] requested encoding `%s' does not match vector `%s'\n"), - file, lineno); + file, lineno, ent->encfile, + ent->encoding, enc->name); } else if(!ent->encoding) ent->encoding = mdvi_strdup(enc->name); } -- 2.43.5