Updated RPM spec file with License keyword
authorSam Lantinga <slouken@libsdl.org>
Wed, 17 May 2006 06:09:27 +0000
changeset 1847 845bcffc0dd8
parent 1846 699eaff87cbb
child 1848 3c5eed71a332
Updated RPM spec file with License keyword
src/SDL_error.c
--- 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++;