mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
CNeutrinoFonts: Fix segfault, when fontfile changed
- use std::string for font and style names
Origin commit data
------------------
Branch: ni/coolstream
Commit: aca97e210e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-03 (Wed, 03 Jul 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1742,7 +1742,7 @@ TIMER_START();
|
||||
CHintBox * hintBox = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_NEUTRINO_STARTING));
|
||||
hintBox->paint();
|
||||
|
||||
CVFD::getInstance()->init(neutrinoFonts->fontDescr.filename, neutrinoFonts->fontDescr.name);
|
||||
CVFD::getInstance()->init(neutrinoFonts->fontDescr.filename.c_str(), neutrinoFonts->fontDescr.name.c_str());
|
||||
CVFD::getInstance()->Clear();
|
||||
CVFD::getInstance()->ShowText(g_Locale->getText(LOCALE_NEUTRINO_STARTING));
|
||||
CVFD::getInstance()->setBacklight(g_settings.backlight_tv);
|
||||
|
Reference in New Issue
Block a user