dvb support: revert dvb_sat_position_to_str() change (missing direction character)

This commit is contained in:
Jaroslav Kysela 2014-11-18 15:07:22 +01:00
parent a0e69f8c7e
commit fa22f18dfc

View file

@ -864,6 +864,7 @@ dvb_sat_position_to_str(int position, char *buf, size_t buflen)
snprintf(buf, buflen, "%d", abs(position / 10));
if (dec)
snprintf(buf + strlen(buf), buflen - strlen(buf), ".%d", abs(dec));
snprintf(buf + strlen(buf), buflen - strlen(buf), "%c", position < 0 ? 'W' : 'E');
return buf;
}