add color buttons to epgselection
[enigma2.git] / lib / dvb / pmt.cpp
index e77c097d1a7b27075f20c3f30a49dc9d2037d2fd..017c31da85573fbfa0ceb1321e57e2c61fe8f416 100644 (file)
@@ -507,7 +507,7 @@ void eDVBCAService::sendCAPMT()
                int i=0;
                int lenbytes = m_capmt[3] & ~0x80;
                while(i < lenbytes)
-                       wp |= (m_capmt[4+i] << (8 * i++));
+                       wp = (wp << 8) | m_capmt[4 + i++];
                wp+=4;
                wp+=lenbytes;
        }