diff options
author | Thomas Günther <tom@toms-cafe.de> | 2009-08-22 00:11:50 +0200 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2009-08-22 00:11:50 +0200 |
commit | 97c95bcb70b01c68ddef7584efc57c39859ac05b (patch) | |
tree | f6a8679d0a654540cae0e68194a612cc0144a120 /display.c | |
parent | 4e86546f9bd946da0440e1e788b7260e37520ba4 (diff) | |
download | vdr-plugin-text2skin-97c95bcb70b01c68ddef7584efc57c39859ac05b.tar.gz vdr-plugin-text2skin-97c95bcb70b01c68ddef7584efc57c39859ac05b.tar.bz2 |
Fixed segmentation fault with token ChannelSource (closes #159 - thanks to a.g.prosat at tochka.ru for reporting this)
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ cxType cText2SkinDisplayChannel::GetTokenData(const txToken &Token) : (cxType)false; case tChannelSource: - return mChannel != NULL + return mChannel != NULL && Sources.Get(mChannel->Source()) != NULL ? (cxType)Sources.Get(mChannel->Source())->Description() : (cxType)false; |