Another bugfix from Herbert.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3542 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-02-14 17:43:53 +00:00
parent c4458da683
commit 9e5716b3d0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-02-14 Herbert Voss <voss@lyx.org>
* xforms_helpers.h: fix bug with "?%" units
2002-02-14 Rob Lahaye <lahaye@users.sourceforge.net>
* forms/form_graphics.fd:
* form_graphics.C: minor layout changes, such as stretching all

View File

@ -285,7 +285,8 @@ void updateWidgetsFromLength(FL_OBJECT * input, FL_OBJECT * choice,
ostringstream buffer;
buffer << len.value();
fl_set_input(input, buffer.str().c_str());
fl_set_choice_text(choice, stringFromUnit(len.unit()));
fl_set_choice_text(choice,
subst(stringFromUnit(len.unit()),"%","%%").c_str());
}
}
#endif