src/SDL_error.c
changeset 1847 845bcffc0dd8
parent 1824 e25445333ccf
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
     1.1 --- a/src/SDL_error.c	Wed May 17 04:42:37 2006 +0000
     1.2 +++ b/src/SDL_error.c	Wed May 17 06:09:27 2006 +0000
     1.3 @@ -136,7 +136,7 @@
     1.4  			if ( *fmt == '%' ) {
     1.5  				char tmp[32], *spot = tmp;
     1.6  				*spot++ = *fmt++;
     1.7 -				while ( *fmt == '.' || (*fmt >= '0' && *fmt <= '9') && spot < (tmp+SDL_arraysize(tmp)-2) ) {
     1.8 +				while ( (*fmt == '.' || (*fmt >= '0' && *fmt <= '9')) && spot < (tmp+SDL_arraysize(tmp)-2) ) {
     1.9  					*spot++ = *fmt++;
    1.10  				}
    1.11  				*spot++ = *fmt++;