+1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
+ string.
+
1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
- LyXLex::netx() and not eatline() to get its argument.
+ LyXLex::next() and not eatline() to get its argument.
1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
#include <cstdlib>
#include "LString.h"
#include <cstdlib>
#include "LString.h"
+#include "support/lstrings.h"
#include "lyx_main.h"
#include FORMS_H_LOCATION
#include "lyx.h"
#include "lyx_main.h"
#include FORMS_H_LOCATION
#include "lyx.h"
void LayoutsCB(int sel, void *)
{
void LayoutsCB(int sel, void *)
{
- string tmp;
- tmp += sel;
+ string tmp = tostr(sel);
current_view->getOwner()->getLyXFunc()->Dispatch(LFUN_LAYOUTNO,
tmp.c_str());
}
current_view->getOwner()->getLyXFunc()->Dispatch(LFUN_LAYOUTNO,
tmp.c_str());
}