[PATCH] text2skin - show partial channel numbers whilst changing channels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--- text2skin.orig/display.c    2005-12-17 14:56:22.637342464 +0000
+++ text2skin/display.c 2005-12-17 14:56:56.975122328 +0000
@@ -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



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux