* src/frontends/controllers/ControlMath.cpp (find_xpm):

- substitute characters ; : ! , by literal expressions (probably fix bug 3834),

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18884 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-06-25 12:38:43 +00:00
parent cc30726cc4
commit 54ed37eade

View File

@ -504,6 +504,10 @@ string const find_xpm(string const & name)
xpm_name = subst(xpm_name, "{", "lbrace");
xpm_name = subst(xpm_name, "}", "rbrace");
xpm_name = subst(xpm_name, "|", "bars");
xpm_name = subst(xpm_name, ",", "thinspace");
xpm_name = subst(xpm_name, ":", "mediumspace");
xpm_name = subst(xpm_name, ";", "thickspace");
xpm_name = subst(xpm_name, "!", "negthinspace");
}
LYXERR(Debug::GUI) << "find_xpm(" << name << ")\n"