From dfd6aaa245354ed35c771d6ccf826ab71510496b Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 18 Oct 1999 10:43:59 +0000 Subject: [PATCH] \print_extra_options now uses next() to read its arguments. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@205 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 5 +++++ lib/lyxrc.example | 2 +- src/lyxrc.C | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bb44e184ea..37a3677957 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-10-18 Jean-Marc Lasgouttes + + * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses + LyXLex::netx() and not eatline() to get its argument. + 1999-10-16 Lars Gullik Bjønnes * Makefile.am (rpmdist): added a rpmdist target diff --git a/lib/lyxrc.example b/lib/lyxrc.example index 95f1eeae2f..8493fa6bb4 100644 --- a/lib/lyxrc.example +++ b/lib/lyxrc.example @@ -322,7 +322,7 @@ # Extra options to pass to printing program after everything # else, but before the filename of the DVI file to be printed. -#\print_extra_options +#\print_extra_options "" # When set, this printer option automatically prints to a file # and then calls a separate print spooling program on that file diff --git a/src/lyxrc.C b/src/lyxrc.C index 9791d88ff5..4e8e9bd004 100644 --- a/src/lyxrc.C +++ b/src/lyxrc.C @@ -448,7 +448,7 @@ int LyXRC::Read(string const &filename) break; case RC_PRINTEXSTRAOPTIONS: - if (lexrc.EatLine()) + if (lexrc.next()) print_extra_options = lexrc.GetString(); break;