X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXRC.cpp;h=e18a9d6f62e2500015795c9933a83e37837f8b2f;hb=8fd223146b02c83fbe78ff361590c9578a7d0454;hp=0221cba3969ea669a56a94ccb9e4671ce3137429;hpb=aac019ad29b2d3767c5ac1fd3a85a007a5606500;p=lyx.git diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index 0221cba396..e18a9d6f62 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -334,6 +334,7 @@ void LyXRC::setDefaults() full_screen_toolbars = true; full_screen_tabbar = true; full_screen_menubar = true; + full_screen_statusbar = true; full_screen_scrollbar = true; full_screen_width = 700; @@ -1054,16 +1055,18 @@ LyXRC::ReturnValues LyXRC::read(Lexer & lexrc, bool check_format) } case RC_VIEWER_ALTERNATIVES: { string format, command; - lexrc >> format; - lexrc >> command; - viewer_alternatives[format].insert(command); + if ((lexrc >> format) && lexrc.next(true)) { + command = lexrc.getString(); + viewer_alternatives[format].insert(command); + } break; } case RC_EDITOR_ALTERNATIVES: { string format, command; - lexrc >> format; - lexrc >> command; - editor_alternatives[format].insert(command); + if ((lexrc >> format) && lexrc.next(true)) { + command = lexrc.getString(); + editor_alternatives[format].insert(command); + } break; }