diff --git a/src/input/mpegts/dvb_support.c b/src/input/mpegts/dvb_support.c index 89ca76bd..5ebf86e8 100644 --- a/src/input/mpegts/dvb_support.c +++ b/src/input/mpegts/dvb_support.c @@ -863,7 +863,7 @@ dvb_sat_position_to_str(int position, char *buf, size_t buflen) return ""; snprintf(buf, buflen, "%d", position / 10); if (dec) - snprintf(buf + strlen(buf), buflen - strlen(buf), ".%d", dec); + snprintf(buf + strlen(buf), buflen - strlen(buf), ".%d", abs(dec)); snprintf(buf + strlen(buf), buflen - strlen(buf), "%c", dec < 0 ? 'W' : 'E'); return buf; }