ni-imageinfo: adapt to last libstb-hal changes

Origin commit data
------------------
Branch: ni/coolstream
Commit: 97b043a6e8
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-02 (Wed, 02 Jan 2019)

Origin message was:
------------------
- ni-imageinfo: adapt to last libstb-hal changes

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-01-02 21:28:06 +01:00
parent 5119b1040c
commit cd6dc53650

View File

@@ -26,7 +26,7 @@
#include <config.h>
#endif
#if HAVE_CONFIG_HAL_H
#if USE_STB_HAL
#include <version_hal.h>
#endif
@@ -346,10 +346,13 @@ void CImageInfoNI::paint()
paintLine(xpos, font_info, g_Locale->getText(LOCALE_IMAGEINFO_GUI));
paintLine(xpos+offset, font_info, guiversion.str());
#if HAVE_CONFIG_HAL_H
#if USE_STB_HAL
hal_libversion_t halver;
hal_get_lib_version(&halver);
ypos += iheight;
paintLine(xpos, font_info, "libstb-hal:");
paintLine(xpos+offset, font_info, getPackageVersion());
paintLine(xpos+offset, font_info, halver.vVersion);
#endif
#ifdef ENABLE_LUA