mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
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:
parent
ab5c1c7408
commit
cd5d57e504
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user