From 03cc2c2f1342a611c3ec298d22d33af969522677 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 16 Nov 2008 13:27:00 +0000 Subject: [PATCH] Add some hook for the next rc2rc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27536 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXRC.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index be650c3a74..ebbff6a463 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -23,11 +23,12 @@ #include "Color.h" #include "Converter.h" -#include "Format.h" -#include "Session.h" -#include "Lexer.h" #include "FontEnums.h" +#include "Format.h" +#include "Lexer.h" #include "Mover.h" +#include "Session.h" +#include "version.h" #include "graphics/GraphicsTypes.h" @@ -1155,8 +1156,9 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c } if (tag == RC_LAST) - os << "# This file is written by LyX, if you want to make your own\n" - << "# modifications you should do them from inside LyX and save\n" + os << "# LyX " << lyx_version + << " generated this file. If you want to make your own\n" + << "# modifications you should do them from inside LyX and save.\n" << "\n"; // Why the switch you might ask. It is a trick to ensure that all