diff --git a/src/gui/epgplus.cpp b/src/gui/epgplus.cpp index 071cf35cf..e7908792c 100644 --- a/src/gui/epgplus.cpp +++ b/src/gui/epgplus.cpp @@ -69,15 +69,15 @@ int EpgPlus::sliderWidth = 0; int EpgPlus::channelsTableWidth = 0; static EpgPlus::FontSetting fontSettingTable[] = { - {EpgPlus::EPGPlus_header_font, (char *) "Bold", 20}, - {EpgPlus::EPGPlus_timeline_fonttime, (char *) "Bold", 16}, - {EpgPlus::EPGPlus_timeline_fontdate, (char *) "Bold", 14}, - {EpgPlus::EPGPlus_channelentry_font, (char *) "Bold", 16}, - {EpgPlus::EPGPlus_channelevententry_font, (char *) "Regular", 16}, - {EpgPlus::EPGPlus_footer_fontbouquetchannelname, (char *) "Bold", 24}, - {EpgPlus::EPGPlus_footer_fonteventdescription, (char *) "Regular", 16}, - {EpgPlus::EPGPlus_footer_fonteventshortdescription, (char *) "Regular", 16}, - {EpgPlus::EPGPlus_footer_fontbuttons, (char *) "Regular", 16}, + { EpgPlus::EPGPlus_header_font, "Bold", 20 }, + { EpgPlus::EPGPlus_timeline_fonttime, "Bold", 16 }, + { EpgPlus::EPGPlus_timeline_fontdate, "Bold", 14 }, + { EpgPlus::EPGPlus_channelentry_font, "Bold", 16 }, + { EpgPlus::EPGPlus_channelevententry_font, "Regular", 16 }, + { EpgPlus::EPGPlus_footer_fontbouquetchannelname, "Bold", 24 }, + { EpgPlus::EPGPlus_footer_fonteventdescription, "Regular", 16 }, + { EpgPlus::EPGPlus_footer_fonteventshortdescription, "Regular", 16 }, + { EpgPlus::EPGPlus_footer_fontbuttons, "Regular", 16 }, }; static EpgPlus::SizeSetting sizeSettingTable[] = { diff --git a/src/gui/epgplus.h b/src/gui/epgplus.h index a4dc32660..691d389d3 100644 --- a/src/gui/epgplus.h +++ b/src/gui/epgplus.h @@ -84,7 +84,7 @@ public: struct FontSetting { FontSettingID settingID; - char* style; + const char* style; int size; };