On Mon, 18 Sep 2000, Lior Silberman wrote:

> On Mon, 18 Sep 2000, Marko Vendelin wrote:
> 
> > 
> > Hi!
> > 
> > I would like to report the following bug in the mathmode:
> > 
> > 1. create a new document (File/New)
> > 2. open math-mode by clicking on the toolbar or by selecting Math/Math
> >    Mode in menu
> > 3. type "\alpha " and enjoy LyX dumping a core.
> > 
> > Marko
> > 
> > PS: I hope it is not only in my build (Gnome frontend)
> > 
> > 
> 
> I think this should say one of:
>       imacro->SetName(string());
>       imacro->SetName(string(""));
>       imacro->SetName("");
> 
> but I don't know anything about the string template, so I don't know which
> one is correct. The first one does solve the problem (tested). Is there a
> global 'emptystring' instance?
> 
> Lior.
> 
> 

I must say didn't delve into the mathed, so this may break something, but
it seems to me that using the null pointer as a reference is wrong in most
cases.

Lior.

Reply via email to