From e6dd0d7f25f1370c36deab46fc8de55d7da7fdd1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 17 May 2006 06:09:27 +0000 Subject: [PATCH] Updated RPM spec file with License keyword --- src/SDL_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL_error.c b/src/SDL_error.c index 4341cd068..11632f281 100644 --- a/src/SDL_error.c +++ b/src/SDL_error.c @@ -136,7 +136,7 @@ char *SDL_GetErrorMsg(char *errstr, unsigned int maxlen) 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++;