From d1ba21bfea8f819109863e2558c1185dd2281960 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 16 Dec 2002 10:40:05 +0000 Subject: [PATCH] (Michael Schmitt): format string correctly. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5816 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/xforms/ChangeLog | 4 ++++ src/frontends/xforms/FormGraphics.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 50f4c77e83..6fce91a77a 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,7 @@ +2002-12-16 Michael Schmitt + + * FormGraphics.C (build): correct string for boost::format. + 2002-12-09 Lars Gullik Bjønnes * FormGraphics.C (build): add another xgettext:no-c-format diff --git a/src/frontends/xforms/FormGraphics.C b/src/frontends/xforms/FormGraphics.C index 8e4633ad08..80c03d7712 100644 --- a/src/frontends/xforms/FormGraphics.C +++ b/src/frontends/xforms/FormGraphics.C @@ -124,7 +124,7 @@ void FormGraphics::build() fl_addto_choice(file_->choice_display, display_List.c_str()); #if USE_BOOST_FORMAT - string const width_list = boost::io::str(boost::format(_("Scale%%|%1$s")) % choice_Length_All); + string const width_list = boost::io::str(boost::format(_("Scale%%%%|%1$s")) % choice_Length_All); #else // xgettext:no-c-format string const width_list = _("Scale%%|") + choice_Length_All; -- 2.39.2