changeset 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 699eaff87cbb
children 3c5eed71a332
files src/SDL_error.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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++;