]> git.lyx.org Git - features.git/commitdiff
\print_extra_options now uses next() to read its arguments.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 18 Oct 1999 10:43:59 +0000 (10:43 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 18 Oct 1999 10:43:59 +0000 (10:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@205 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
lib/lyxrc.example
src/lyxrc.C

index bb44e184ea57f6873c7b58b8efccf9cddea3b7aa..37a367795739b6bcca816236cedcb9261eac36d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
+       LyXLex::netx() and not eatline() to get its argument.
+
 1999-10-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * Makefile.am (rpmdist): added a rpmdist target
index 95f1eeae2f02d627d4cc1251d7fbdcb05bb5c15f..8493fa6bb4ebba459acaab1ffd02289ed98ab681 100644 (file)
 
 # 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
index 9791d88ff5f91c41583bbe72c70448fdfcfb787f..4e8e9bd004251dc56d4aeb70769af547ab64451d 100644 (file)
@@ -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;