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 | |
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)
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | display.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -102,6 +102,8 @@ ____-__-__: Version 1.3 - Fixed width and height of the selected parts of the replay progress bar, so that its fully compatible with the replay progress bar of the standard skins (closes #158) +- Fixed segmentation fault with token ChannelSource (closes #159 - thanks to + a.g.prosat at tochka.ru for reporting this) 2009-06-01: Version 1.2 @@ -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; |