From c1d479762fb5329f711c346d8b72c1da76922908 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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401808 --- 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++;