Vincent van Ravesteijn - TNW
Fri, 05 Feb 2010 01:36:35 -0800
>Author: tommaso >Date: Fri Feb 5 10:00:40 2010 >New Revision: 33329 >URL: http://www.lyx.org/trac/changeset/33329 > > docstring InsetMathHull::standardFont() const { >- return from_ascii(type_ == hullNone ? "lyxnochange" : "mathnormal"); >+ const char *font_name; >+ switch (type_) { >+ return from_ascii(font_name); > }
Please use "docstring font_name;" and "font_name = from_ascii(..);" Vincent