Lars says _(_(b)) is a bug ... fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5756 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-12-01 03:11:56 +00:00
parent dede9054f4
commit 2523638092
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-12-01 John Levon <levon@movementarian.org>
* FormMathsBitmap.C: fix _(_(blah))
2002-11-30 John Levon <levon@movementarian.org>
* FormMathsBitmap.C: actually set dialog_->button_close

View File

@ -109,8 +109,8 @@ void FormMathsBitmap::build()
char const * const label = _("Close|^[");
fdui->button_close =
fl_add_button(FL_NORMAL_BUTTON, x_, y_, 90, 30,
idex(_(label)).c_str());
fl_set_button_shortcut(fdui->button_close, scex(_(label)).c_str(), 1);
idex(label).c_str());
fl_set_button_shortcut(fdui->button_close, scex(label).c_str(), 1);
fl_set_object_lsize(fdui->button_close, FL_NORMAL_SIZE);
fl_set_object_callback(fdui->button_close, C_FormBaseCancelCB, 0);