summaryrefslogtreecommitdiff
path: root/menudetailview.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2012-12-05 20:50:15 +0100
committerlouis <louis.braun@gmx.de>2012-12-05 20:50:15 +0100
commit85b83b42ae87dff1ce984a88779d03698978460b (patch)
tree84d3522d3ec7a25b4cc982baa62067b208236b14 /menudetailview.c
parentbfe8fcb2626206e320dcae906476b0aa334f9954 (diff)
downloadskin-nopacity-85b83b42ae87dff1ce984a88779d03698978460b.tar.gz
skin-nopacity-85b83b42ae87dff1ce984a88779d03698978460b.tar.bz2
changed epgsearch handling
Diffstat (limited to 'menudetailview.c')
-rw-r--r--menudetailview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/menudetailview.c b/menudetailview.c
index 03bd32b..945f940 100644
--- a/menudetailview.c
+++ b/menudetailview.c
@@ -160,9 +160,9 @@ bool cNopacityMenuDetailView::Scroll(bool Up, bool Page) {
//---------------cNopacityMenuDetailEventView---------------------
-cNopacityMenuDetailEventView::cNopacityMenuDetailEventView(cOsd *osd, const cEvent *Event, const char *channel) : cNopacityMenuDetailView(osd) {
+cNopacityMenuDetailEventView::cNopacityMenuDetailEventView(cOsd *osd, const cEvent *Event, cString channelName) : cNopacityMenuDetailView(osd) {
event = Event;
- channelName = channel;
+ this->channelName = channelName;
}
cNopacityMenuDetailEventView::~cNopacityMenuDetailEventView(void) {
@@ -199,7 +199,7 @@ void cNopacityMenuDetailEventView::Render(void) {
void cNopacityMenuDetailEventView::DrawHeader(void) {
cImageLoader imgLoader;
int logoWidth = config.detailViewLogoWidth;
- if (imgLoader.LoadLogo(channelName, logoWidth, config.detailViewLogoHeight)) {
+ if (imgLoader.LoadLogo(*channelName, logoWidth, config.detailViewLogoHeight)) {
pixmapLogo->DrawImage(cPoint(0, max((headerHeight - config.detailViewLogoHeight - border)/2, 0)), imgLoader.GetImage());
}
int widthTextHeader = width - 4 * border - logoWidth;