Mercurial > sdl-ios-xcode
diff src/stdlib/SDL_string.c @ 2120:2c835d58faad
make indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 14 Jun 2007 13:21:29 +0000 |
parents | 4794e6f90feb |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/stdlib/SDL_string.c Thu Jun 14 06:32:36 2007 +0000 +++ b/src/stdlib/SDL_string.c Thu Jun 14 13:21:29 2007 +0000 @@ -298,8 +298,8 @@ { char *srcp = (char *) src; char *dstp = (char *) dst; - srcp += len-1; - dstp += len-1; + srcp += len - 1; + dstp += len - 1; while (len--) { *dstp-- = *srcp--; } @@ -872,7 +872,8 @@ ++index; } if (text[index] == '0') { - if (SDL_tolower((unsigned char) text[index + 1]) == 'x') { + if (SDL_tolower((unsigned char) text[index + 1]) + == 'x') { radix = 16; } else { radix = 8;