summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorAndreas Brugger <brougs78@gmx.net>2005-12-18 12:00:00 +0100
committerThomas Günther <tom@toms-cafe.de>2009-06-03 01:18:35 +0200
commiteeda27b9d069161db0261f6e2f51ac9463bde910 (patch)
tree13168858991dfcfc13c8ac373fc8c9ca6a5db264 /common.c
parentbb39010021b5fd8a1046200839c678afc76227d5 (diff)
downloadvdr-plugin-text2skin-eeda27b9d069161db0261f6e2f51ac9463bde910.tar.gz
vdr-plugin-text2skin-eeda27b9d069161db0261f6e2f51ac9463bde910.tar.bz2
2005-12-18: Version 1.1-cvs_ext-0.4 (vdr-text2skin-1.1-cvs_ext-0.4.diff)
- modified the way, the current replayed recording is determined (status.c: cText2SkinStatus::Replaying) There remains a problem that recordings with the same name cannot be distinguished, so information optained from mReplay are not necessarily correct (all the ones added in vdr-text2skin-1.1-cvs_ext-0.2.diff)
Diffstat (limited to 'common.c')
-rw-r--r--common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.c b/common.c
index f7011d6..c6b0a24 100644
--- a/common.c
+++ b/common.c
@@ -117,7 +117,7 @@ const cRecording *GetRecordingByName(const char *Name)
const cRecording *GetRecordingByFileName(const char *FileName)
{
- return Recordings.GetByName(FileName);
+ return (FileName) ? Recordings.GetByName(FileName) : NULL;
}
int GetRecordingSize(const char *FileName)