mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* LyXRC.cpp:
- support blanks in viewer_alternatives command. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31315 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
37429e5e60
commit
b21794071f
@ -1036,7 +1036,10 @@ int LyXRC::read(Lexer & lexrc)
|
||||
}
|
||||
case RC_VIEWER_ALTERNATIVES: {
|
||||
string format, command;
|
||||
lexrc >> format >> command;
|
||||
if (lexrc.next())
|
||||
format = lexrc.getString();
|
||||
if (lexrc.eatLine())
|
||||
command = lexrc.getString();
|
||||
viewer_alternatives.push_back(make_pair(format, command));
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user