dvb_sat_position_from_str - fix the parsing for positions without dot
This commit is contained in:
parent
abef913871
commit
966d3a898a
1 changed files with 1 additions and 0 deletions
|
@ -881,6 +881,7 @@ dvb_sat_position_from_str( const char *buf )
|
|||
while (*s && *s != '.')
|
||||
s++;
|
||||
min = *s == '.' ? atoi(s + 1) : 0;
|
||||
if (*s != '.') s = buf;
|
||||
do {
|
||||
c = *s++;
|
||||
} while (c && c != 'W' && c != 'E');
|
||||
|
|
Loading…
Add table
Reference in a new issue