Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb_sat_position_from_str - fix the parsing for positions without dot
  • Loading branch information
perexg committed Nov 8, 2014
1 parent abef913 commit 966d3a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/input/mpegts/dvb_support.c
Expand Up @@ -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');
Expand Down

0 comments on commit 966d3a8

Please sign in to comment.