From 69500a4eb33a6f1c91945175559d5b1c85d6df15 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 23 Apr 2008 10:25:34 +0000 Subject: [PATCH] Fix bug 4779 (printing not possible) http://bugzilla.lyx.org/show_bug.cgi?id=4779 This was a collateral damage of the 'lyxlex simplification'.` git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24474 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXRC.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index 09a4d5bf10..835d099aab 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -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: