mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Removed some excess ';'
This commit is contained in:
parent
a9e32ad0a5
commit
4fd2870720
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbdevice.c 4.13 2017/05/09 11:50:38 kls Exp $
|
* $Id: dvbdevice.c 4.14 2018/01/25 15:09:17 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbdevice.h"
|
#include "dvbdevice.h"
|
||||||
@ -714,7 +714,7 @@ int cDvbTuner::GetSignalStrength(void) const
|
|||||||
esyslog("ERROR: frontend %d/%d: %m", adapter, frontend);
|
esyslog("ERROR: frontend %d/%d: %m", adapter, frontend);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
int Signal = 0;;
|
int Signal = 0;
|
||||||
if (Props[0].u.st.len > 0) {
|
if (Props[0].u.st.len > 0) {
|
||||||
switch (Props[0].u.st.stat[0].scale) {
|
switch (Props[0].u.st.stat[0].scale) {
|
||||||
case FE_SCALE_DECIBEL: Signal = dB1000toPercent(Props[0].u.st.stat[0].svalue, -95000, -20000); // TODO use different values for DVB-S, -T, -C?
|
case FE_SCALE_DECIBEL: Signal = dB1000toPercent(Props[0].u.st.stat[0].svalue, -95000, -20000); // TODO use different values for DVB-S, -T, -C?
|
||||||
@ -772,7 +772,7 @@ int cDvbTuner::GetSignalQuality(void) const
|
|||||||
esyslog("ERROR: frontend %d/%d: %m", adapter, frontend);
|
esyslog("ERROR: frontend %d/%d: %m", adapter, frontend);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
int Cnr = 0;;
|
int Cnr = 0;
|
||||||
if (Props[0].u.st.len > 0) {
|
if (Props[0].u.st.len > 0) {
|
||||||
switch (Props[0].u.st.stat[0].scale) {
|
switch (Props[0].u.st.stat[0].scale) {
|
||||||
case FE_SCALE_DECIBEL: Cnr = dB1000toPercent(Props[0].u.st.stat[0].svalue, 5000, 20000); // TODO use different values for DVB-S, -T, -C?
|
case FE_SCALE_DECIBEL: Cnr = dB1000toPercent(Props[0].u.st.stat[0].svalue, 5000, 20000); // TODO use different values for DVB-S, -T, -C?
|
||||||
|
4
osd.c
4
osd.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: osd.c 4.3 2015/09/10 14:12:06 kls Exp $
|
* $Id: osd.c 4.4 2018/01/25 15:09:09 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
@ -1183,7 +1183,7 @@ void cPixmap::DrawPixmap(const cPixmap *Pixmap, const cRect &Dirty)
|
|||||||
t0.Shift(-Pixmap->DrawPort().Width(), 0);
|
t0.Shift(-Pixmap->DrawPort().Width(), 0);
|
||||||
while (t0.Y() > Pixmap->ViewPort().Top())
|
while (t0.Y() > Pixmap->ViewPort().Top())
|
||||||
t0.Shift(0, -Pixmap->DrawPort().Height());
|
t0.Shift(0, -Pixmap->DrawPort().Height());
|
||||||
cPoint t = t0;;
|
cPoint t = t0;
|
||||||
while (t.Y() <= Pixmap->ViewPort().Bottom()) {
|
while (t.Y() <= Pixmap->ViewPort().Bottom()) {
|
||||||
while (t.X() <= Pixmap->ViewPort().Right()) {
|
while (t.X() <= Pixmap->ViewPort().Right()) {
|
||||||
cRect Source = Pixmap->DrawPort(); // assume the entire pixmap needs to be rendered
|
cRect Source = Pixmap->DrawPort(); // assume the entire pixmap needs to be rendered
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: osdbase.h 4.4 2017/11/09 14:57:48 kls Exp $
|
* $Id: osdbase.h 4.5 2018/01/25 15:09:23 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __OSDBASE_H
|
#ifndef __OSDBASE_H
|
||||||
@ -91,7 +91,7 @@ private:
|
|||||||
char *title;
|
char *title;
|
||||||
int cols[cSkinDisplayMenu::MaxTabs];
|
int cols[cSkinDisplayMenu::MaxTabs];
|
||||||
int first, current, marked;
|
int first, current, marked;
|
||||||
int lastOffset;;
|
int lastOffset;
|
||||||
eMenuCategory menuCategory;
|
eMenuCategory menuCategory;
|
||||||
eMenuSortMode menuSortMode;
|
eMenuSortMode menuSortMode;
|
||||||
eMenuOrientation menuOrientation;
|
eMenuOrientation menuOrientation;
|
||||||
|
Loading…
Reference in New Issue
Block a user