]> git.lyx.org Git - features.git/blobdiff - src/Buffer.cpp
Fix inconsistent version in .lyx files (#7951)
[features.git] / src / Buffer.cpp
index 014dcd6929cb8df769eee32b63d8aedb727635a4..6ef03f6c785b7dcae83379cc4eb7f5be5f35071e 100644 (file)
@@ -1404,6 +1404,8 @@ bool Buffer::write(ostream & ofs) const
        // The top of the file should not be written by params().
 
        // write out a comment in the top of the file
+       // Important: Keep the version formatting in sync with lyx2lyx and
+       //            tex2lyx (bug 7951)
        ofs << "#LyX " << lyx_version_major << "." << lyx_version_minor
            << " created this file. For more info see http://www.lyx.org/\n"
            << "\\lyxformat " << LYX_FORMAT << "\n"