Mercurial > sdl-ios-xcode
diff src/SDL_error.c @ 1847:845bcffc0dd8
Updated RPM spec file with License keyword
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 17 May 2006 06:09:27 +0000 |
parents | e25445333ccf |
children | c121d94672cb a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/SDL_error.c Wed May 17 04:42:37 2006 +0000 +++ b/src/SDL_error.c Wed May 17 06:09:27 2006 +0000 @@ -136,7 +136,7 @@ if ( *fmt == '%' ) { char tmp[32], *spot = tmp; *spot++ = *fmt++; - while ( *fmt == '.' || (*fmt >= '0' && *fmt <= '9') && spot < (tmp+SDL_arraysize(tmp)-2) ) { + while ( (*fmt == '.' || (*fmt >= '0' && *fmt <= '9')) && spot < (tmp+SDL_arraysize(tmp)-2) ) { *spot++ = *fmt++; } *spot++ = *fmt++;