mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
*LyXER.cpp:
- parse editor_alternatives with options correctly. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38240 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2708a711d0
commit
5f1bfdde1e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user