]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.cpp
See r37176. Let's keep this a Windows only "feature".
[lyx.git] / src / LyXRC.cpp
index 215b9a606f1d5e1c6ab9045da71fad9e8d1e9319..20daf4ac2059d1647f9c0437da16bdb5fc00d1f7 100644 (file)
@@ -1139,7 +1139,10 @@ LyXRC::ReturnValues LyXRC::read(Lexer & lexrc, bool check_format)
                }
                case RC_EDITOR_ALTERNATIVES:  {
                        string format, command;
-                       lexrc >> format >> command;
+                       if (lexrc.next())
+                               format = lexrc.getString();
+                       if (lexrc.eatLine())
+                               command = lexrc.getString();
                        editor_alternatives[format].insert(command);
                        break;
                }