From 03271374541df739d32a06dc1f9f26f6e2859ebb Mon Sep 17 00:00:00 2001 From: satbaby Date: Mon, 15 Feb 2010 22:03:56 +0000 Subject: [PATCH] -fix cryptoinfo git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@349 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/streaminfo2.cpp | 44 ++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 944a48fc6..f182ec0bd 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -687,10 +687,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) if(pmt_caids[j][i] > 0 && i == 0){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -700,10 +700,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 1){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -713,10 +713,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 2){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -726,10 +726,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 3){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -739,10 +739,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 4){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -752,10 +752,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 5){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -765,10 +765,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 6){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -778,10 +778,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 7){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -791,10 +791,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 8){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -804,10 +804,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 9){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp; @@ -817,10 +817,10 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos) else if(pmt_caids[j][i] > 0 && i == 10){ for( int k = 0; k < 4;k++){ if(pmt_caids[j][i] == pmt_caids[k][i] && ( j != k)){ - pmt_caids[j][i]=0; + pmt_caids[j][i]=1; } } - if(pmt_caids[j][i] > 0 ) + if(pmt_caids[j][i] > 1 ) { snprintf(tmp,sizeof(tmp)," 0x%04X",pmt_caids[j][i]); casys[i] += tmp;