dvb support: revert dvb_sat_position_to_str() change (missing direction character)
This commit is contained in:
parent
a0e69f8c7e
commit
fa22f18dfc
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue