mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user