From 2aad27b2f308e928b53dc81a0c64b02909538460 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 10 Dec 2006 16:13:00 +0000 Subject: [PATCH] Oops, committed an old version. This one links. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16231 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ispell.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ispell.C b/src/ispell.C index 7504507e98..1a798cd29e 100644 --- a/src/ispell.C +++ b/src/ispell.C @@ -404,7 +404,7 @@ enum ISpell::Result ISpell::check(WordLangTuple const & word) if (encoded.empty()) { error_ = bformat( _("Could not check word `%1$s' because it could not be converted to encoding `%2$s'."), - word.word(), encoding); + word.word(), from_ascii(encoding)); return UNKNOWN_WORD; } ::fputs(encoded.c_str(), out); @@ -475,7 +475,7 @@ void ISpell::insert(WordLangTuple const & word) if (encoded.empty()) { error_ = bformat( _("Could not insert word `%1$s' because it could not be converted to encoding `%2$s'."), - word.word(), encoding); + word.word(), from_ascii(encoding)); return; } ::fputc('*', out); // Insert word in personal dictionary @@ -490,7 +490,7 @@ void ISpell::accept(WordLangTuple const & word) if (encoded.empty()) { error_ = bformat( _("Could not accept word `%1$s' because it could not be converted to encoding `%2$s'."), - word.word(), encoding); + word.word(), from_ascii(encoding)); return; } ::fputc('@', out); // Accept in this session -- 2.39.5