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;