X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfr1.C;h=ee35ba89820594536181a8052c500dc860f860fa;hb=a858be7332e331e0244e4dba7b0931b6072ffd3d;hp=80bfa1807013dc19955014fe83f4710e89cd4199;hpb=35584afc1162dec2cf9fff79305e95cb3b75aefb;p=lyx.git diff --git a/src/lyxfr1.C b/src/lyxfr1.C index 80bfa18070..ee35ba8982 100644 --- a/src/lyxfr1.C +++ b/src/lyxfr1.C @@ -10,9 +10,9 @@ #include -#include -#include -#include +#include +#include +#include #ifdef __GNUG__ #pragma implementation @@ -32,6 +32,7 @@ #include "LyXView.h" #include "lyx_gui_misc.h" #include "minibuffer.h" +#include "support/lstrings.h" extern BufferView *current_view; // called too many times in this file... extern MiniBuffer *minibuffer; @@ -234,8 +235,7 @@ void LyXFindReplace1::SearchReplaceAllCB() if( replace_count == 1 ) { minibuffer->Set(_("1 string has been replaced.")); } else { - string str; - str += replace_count; + string str = tostr(replace_count); str += _(" strings have been replaced."); minibuffer->Set(str); }