mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
gui/streaminfo2.cpp: fix transponder->type
Origin commit data
------------------
Commit: bee2fa8e85
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-16 (Wed, 16 Jan 2013)
This commit is contained in:
@@ -566,9 +566,9 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
|
|
||||||
//satellite
|
//satellite
|
||||||
ypos += iheight;
|
ypos += iheight;
|
||||||
if(t.type == FE_QPSK)
|
if(t.deltype == FE_QPSK)
|
||||||
sprintf (buf, "%s:",g_Locale->getText (LOCALE_SATSETUP_SATELLITE));//swiped locale
|
sprintf (buf, "%s:",g_Locale->getText (LOCALE_SATSETUP_SATELLITE));//swiped locale
|
||||||
else if(t.type == FE_QAM)
|
else if(t.deltype == FE_QAM)
|
||||||
sprintf (buf, "%s:",g_Locale->getText (LOCALE_CHANNELLIST_PROVS));
|
sprintf (buf, "%s:",g_Locale->getText (LOCALE_CHANNELLIST_PROVS));
|
||||||
|
|
||||||
g_Font[font_info]->RenderString(xpos, ypos, box_width, buf, COL_INFOBAR, 0, true); // UTF-8
|
g_Font[font_info]->RenderString(xpos, ypos, box_width, buf, COL_INFOBAR, 0, true); // UTF-8
|
||||||
@@ -588,7 +588,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
ypos += iheight;
|
ypos += iheight;
|
||||||
|
|
||||||
scaling = 27000;
|
scaling = 27000;
|
||||||
if (t.type == FE_QPSK && t.feparams.dvb_feparams.u.qpsk.fec_inner < FEC_S2_QPSK_1_2)
|
if (t.deltype == FE_QPSK && t.feparams.dvb_feparams.u.qpsk.fec_inner < FEC_S2_QPSK_1_2)
|
||||||
scaling = 15000;
|
scaling = 15000;
|
||||||
|
|
||||||
sprintf (buf, "%s",g_Locale->getText (LOCALE_SCANTS_FREQDATA));
|
sprintf (buf, "%s",g_Locale->getText (LOCALE_SCANTS_FREQDATA));
|
||||||
|
Reference in New Issue
Block a user