imageinfo_ni: use package version as fallback for image version

Origin commit data
------------------
Commit: 3912ff4c34
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-15 (Fri, 15 Dec 2017)

Origin message was:
------------------
- imageinfo_ni: use package version as fallback for image version
This commit is contained in:
vanhofen
2017-12-15 23:20:54 +01:00
parent efcb427f1a
commit 8e6d164b47

View File

@@ -298,6 +298,13 @@ void CImageInfoNI::paint()
imageversion.str("");
imageversion << releaseCycle << " (" << versionInfo.getType() << ")";
}
#ifdef PACKAGE_VERSION
else
{
imageversion.str("");
imageversion << PACKAGE_VERSION;
}
#endif
ypos += iheight;
paintLine(xpos, font_info, g_Locale->getText(LOCALE_IMAGEINFO_IMAGE));