From: Pavel Sanda Date: Wed, 9 Feb 2011 17:23:20 +0000 (+0000) Subject: We have lyx_version, for PACKAGE_VERSION. X-Git-Tag: 2.0.0~812 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1b3c9e54c574c02e079623701eac0c6a0d7da453;hp=c3aa2e0e17014cfb62635ebb6884185baecbcbff;p=lyx.git We have lyx_version, for PACKAGE_VERSION. (Introduced in r34186.) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37577 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index be30d7fcdc..acea3acb25 100644 --- a/src/insets/InsetInfo.cpp +++ b/src/insets/InsetInfo.cpp @@ -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; } }