Do not use const char *.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33696 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-03-10 16:56:13 +00:00
parent ab5c1c7408
commit cd5d57e504

View File

@ -313,18 +313,18 @@ int InsetMathHull::defaultColSpace(col_type col)
docstring InsetMathHull::standardFont() const
{
const char *font_name;
docstring font_name;
switch (type_) {
case hullRegexp:
font_name = "texttt";
font_name = from_ascii("texttt");
break;
case hullNone:
font_name = "lyxnochange";
font_name = from_ascii("lyxnochange");
break;
default:
font_name = "mathnormal";
font_name = from_ascii("mathnormal");
}
return from_ascii(font_name);
return font_name;
}