diff options
author | louis <louis.braun@gmx.de> | 2013-12-06 17:06:17 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-12-06 17:06:17 +0100 |
commit | c599d72dda9e55c64ab07018e24983e7a759618a (patch) | |
tree | 318ee9b9b80fc3f4611dd28ba83520f3cd65c3a8 /displayreplay.c | |
parent | cfbfc52804ebbf6fae3e48ee6982fd934a187782 (diff) | |
download | skin-nopacity-c599d72dda9e55c64ab07018e24983e7a759618a.tar.gz skin-nopacity-c599d72dda9e55c64ab07018e24983e7a759618a.tar.bz2 |
removed recording basename
Diffstat (limited to 'displayreplay.c')
-rw-r--r-- | displayreplay.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/displayreplay.c b/displayreplay.c index d7f7045..79135dc 100644 --- a/displayreplay.c +++ b/displayreplay.c @@ -299,9 +299,6 @@ void cNopacityDisplayReplay::SetRecording(const cRecording *Recording) { if (!recName) { recName = Recording->Name(); } - if (!recName) { - recName = *Recording->BaseName(); - } SetTitle(recName); cString info2; if (RecordingInfo->ShortText()) @@ -323,6 +320,8 @@ void cNopacityDisplayReplay::SetRecording(const cRecording *Recording) { void cNopacityDisplayReplay::SetTitle(const char *Title) { pixmapInfo->Fill(clrTransparent); + if (!Title) + return; int titleLength = fontManager->replayHeader->Width(Title); int titleSpace = geoManager->replayInfoWidth - geoManager->replayHeaderHeight/2; std::string strTitle = Title; |