Commit d2ae907e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input: More strtol fix.

parent 427c9725
...@@ -2756,7 +2756,10 @@ static void MRLSections( input_thread_t *p_input, char *psz_source, ...@@ -2756,7 +2756,10 @@ static void MRLSections( input_thread_t *p_input, char *psz_source,
} }
if( *psz_check != '-' && *psz_check ) return; if( *psz_check != '-' && *psz_check ) return;
if( *psz_check == '-' && ++psz_check ) if( *psz_check == '-' && ++psz_check )
if( isdigit(*psz_check) ) strtol( psz_check, &psz_check, 0 ); {
if( isdigit(*psz_check) )
if(!next(&psz_check)) return;
}
if( *psz_check != ':' && *psz_check ) return; if( *psz_check != ':' && *psz_check ) return;
if( *psz_check == ':' && ++psz_check ) if( *psz_check == ':' && ++psz_check )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment