make %t work

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26649 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-06-07 07:32:28 +00:00
parent 1956c72b62
commit 4a9398e3fc

View file

@ -1156,6 +1156,8 @@ static int parse_timeout(const char *wps_bufptr,
(void)wps_data; /* Kill the warning */ (void)wps_data; /* Kill the warning */
if (*wps_bufptr == '(') if (*wps_bufptr == '(')
{ {
wps_bufptr++;
skip++;
while ( isdigit(*wps_bufptr) || *wps_bufptr == '.' ) while ( isdigit(*wps_bufptr) || *wps_bufptr == '.' )
{ {
if (*wps_bufptr != '.') if (*wps_bufptr != '.')