diff options
Diffstat (limited to 'displaychannelview.c')
-rw-r--r-- | displaychannelview.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/displaychannelview.c b/displaychannelview.c index c7ab5f3..d4c219f 100644 --- a/displaychannelview.c +++ b/displaychannelview.c @@ -664,6 +664,8 @@ void cNopacityDisplayChannelView::DrawSignal(void) { if (Now != lastSignalDisplay) { int SignalStrength = cDevice::ActualDevice()->SignalStrength(); int SignalQuality = cDevice::ActualDevice()->SignalQuality(); + if (SignalStrength < 0) SignalStrength = 0; + if (SignalQuality < 0) SignalQuality = 0; if ((SignalStrength == 0)&&(SignalQuality==0)) return; if ((lastSignalStrength != SignalStrength) || (lastSignalQuality != SignalQuality)) { |