forgot this

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14868 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-09-02 10:27:28 +00:00
parent 6afe0b915c
commit 0542f28f04

View File

@ -1193,9 +1193,9 @@ void LyXText::insertChar(LCursor & cur, char_type c)
par.isFreeSpacing();
if (lyxrc.auto_number) {
static string const number_operators = "+-/*";
static string const number_unary_operators = "+-";
static string const number_seperators = ".,:";
static docstring const number_operators = lyx::from_ascii("+-/*");
static docstring const number_unary_operators = lyx::from_ascii("+-");
static docstring const number_seperators = lyx::from_ascii(".,:");
if (current_font.number() == LyXFont::ON) {
if (!isDigit(c) && !contains(number_operators, c) &&