]> git.lyx.org Git - lyx.git/commitdiff
We have lyx_version, for PACKAGE_VERSION.
authorPavel Sanda <sanda@lyx.org>
Wed, 9 Feb 2011 17:23:20 +0000 (17:23 +0000)
committerPavel Sanda <sanda@lyx.org>
Wed, 9 Feb 2011 17:23:20 +0000 (17:23 +0000)
(Introduced in r34186.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37577 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetInfo.cpp

index be30d7fcdc42a6b2453b133329c2391e337681bc..acea3acb25acdbcd1d3a9496e846a5b723ec8eea 100644 (file)
@@ -27,6 +27,7 @@
 #include "LyXVC.h"
 #include "Lexer.h"
 #include "ParagraphParameters.h"
+#include "version.h"
 
 #include "frontends/Application.h"
 
@@ -454,7 +455,7 @@ void InsetInfo::updateInfo()
        }
        case LYX_INFO:
                if (name_ == "version")
-                       setText(from_ascii(PACKAGE_VERSION));
+                       setText(from_ascii(lyx_version));
                break;
        }
 }