text2skin - show partial channel numbers whilst changing channels
Commit Message
Hi all,
Please find attached a patch against the latest CVS version of the text2skin
plugin which makes it show partial channel numbers whilst changing channels.
The ChannelNumber(const cChannel *Channel, int Number) function performs a
check for Channel being null and displays the partial channel number
appended by "-" when it is. However it's never called when Channel is null
due to a check in display.c.
Chris
@@ -116,9 +116,7 @@
{
switch (Token.Type) {
case tChannelNumber:
- return mChannel != NULL
- ? (cxType)ChannelNumber(mChannel, mNumber)
- : (cxType)false;
+ return ChannelNumber(mChannel, mNumber);
case tChannelName:
return mChannel != NULL