From 1f07acc18853af6a836d2b3133427ac7f23ffed3 Mon Sep 17 00:00:00 2001 From: John Levon Date: Thu, 28 Nov 2002 16:15:45 +0000 Subject: [PATCH] _("blah") + 'f' is most definitely non-U. I suppose I'm the sucker who has to read his patch for these ... again ! I seem to fix the same bug every 6 months :) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5743 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 4 ++++ src/frontends/controllers/ControlSpellchecker.C | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index 0498eec7ff..097d2d20bf 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,7 @@ +2002-11-28 John Levon + + * ControlSpellchecker.C: fix Lars' broken cleanup + 2002-11-27 Juergen Spitzmueller * ControlTabular.[Ch]: Add isMulticolumnCell diff --git a/src/frontends/controllers/ControlSpellchecker.C b/src/frontends/controllers/ControlSpellchecker.C index 947ee91264..03ce407d5a 100644 --- a/src/frontends/controllers/ControlSpellchecker.C +++ b/src/frontends/controllers/ControlSpellchecker.C @@ -193,7 +193,7 @@ void ControlSpellchecker::clearParams() if (speller_->alive()) { speller_->close(); - message_ = _("Spellchecking completed!") + '\n'; + message_ = string(_("Spellchecking completed!")) + '\n'; #if USE_BOOST_FORMAT if (count_ != 1) { @@ -201,11 +201,11 @@ void ControlSpellchecker::clearParams() fmter % count_; message_ += fmter.str(); } else { - message_+= _("One word checked."); + message_ += _("One word checked."); } #else if (count_ != 1) { - message_ += tostr(count_) + " words checked"; + message_ += tostr(count_) + " words checked"; } else { message_ = _("One word checked."); }