]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.cpp
Some comments.
[lyx.git] / src / LyXRC.cpp
index 09a4d5bf108b4640f37ee3cc2c64338138ca84ce..835d099aab9c4c6f94690f794d572307329278a9 100644 (file)
@@ -512,7 +512,9 @@ int LyXRC::read(Lexer & lexrc)
                        break;
 
                case RC_PRINTTOFILE:
-                       print_to_file = os::internal_path(lexrc.getString());
+                       if (lexrc.next()) {
+                               print_to_file = os::internal_path(lexrc.getString());
+                       }
                        break;
 
                case RC_PRINTFILEEXTENSION: