src/stdlib/SDL_string.c
changeset 2120 2c835d58faad
parent 2114 4794e6f90feb
child 2859 99210400e8b9
     1.1 --- a/src/stdlib/SDL_string.c	Thu Jun 14 06:32:36 2007 +0000
     1.2 +++ b/src/stdlib/SDL_string.c	Thu Jun 14 13:21:29 2007 +0000
     1.3 @@ -298,8 +298,8 @@
     1.4  {
     1.5      char *srcp = (char *) src;
     1.6      char *dstp = (char *) dst;
     1.7 -    srcp += len-1;
     1.8 -    dstp += len-1;
     1.9 +    srcp += len - 1;
    1.10 +    dstp += len - 1;
    1.11      while (len--) {
    1.12          *dstp-- = *srcp--;
    1.13      }
    1.14 @@ -872,7 +872,8 @@
    1.15                              ++index;
    1.16                          }
    1.17                          if (text[index] == '0') {
    1.18 -                            if (SDL_tolower((unsigned char) text[index + 1]) == 'x') {
    1.19 +                            if (SDL_tolower((unsigned char) text[index + 1])
    1.20 +                                == 'x') {
    1.21                                  radix = 16;
    1.22                              } else {
    1.23                                  radix = 8;