From 5bd5a95990ae329ed1eebb803d4aaef25520a926 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Sat, 25 Jan 2014 23:04:27 +0100 Subject: [PATCH] Fix segfault in eventlist Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/06408a8325d3fa80763ab6b04d67c975bf84ad2a Author: Michael Liebmann Date: 2014-01-25 (Sat, 25 Jan 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/eventlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 87e54015f..712174f44 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -281,7 +281,7 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c infozone_width = full_width - width; // init right info_zone - if (g_settings.eventlist_additional) + if ((g_settings.eventlist_additional) && (cc_infozone == NULL)) cc_infozone = new CComponentsText(x+width+10, y+theight, infozone_width-20, listmaxshow*fheight); int res = menu_return::RETURN_REPAINT;