]> git.lyx.org Git - features.git/commitdiff
forgot this
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 2 Sep 2006 10:27:28 +0000 (10:27 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 2 Sep 2006 10:27:28 +0000 (10:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14868 a592a061-630c-0410-9148-cb99ea01b6c8

src/text.C

index 0493c1416c32836f9cd7835ece7c838bc9fd3a89..b212ecea602ac686ca2ffb36a72980591dd4040f 100644 (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) &&