src/cpuinfo/SDL_cpuinfo.c
changeset 8642 3506de54b829
parent 8241 b6d5a589ce3f
child 9003 446ed0fe0fc3
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Wed Mar 19 16:52:26 2014 -0400
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Wed Mar 19 16:55:38 2014 -0400
     1.3 @@ -408,15 +408,17 @@
     1.4              SDL_CPUType[i++] = (char)(b & 0xff); b >>= 8;
     1.5              SDL_CPUType[i++] = (char)(b & 0xff); b >>= 8;
     1.6              SDL_CPUType[i++] = (char)(b & 0xff); b >>= 8;
     1.7 -            SDL_CPUType[i++] = (char)(b & 0xff); b >>= 8;
     1.8 +            SDL_CPUType[i++] = (char)(b & 0xff);
     1.9 +
    1.10              SDL_CPUType[i++] = (char)(d & 0xff); d >>= 8;
    1.11              SDL_CPUType[i++] = (char)(d & 0xff); d >>= 8;
    1.12              SDL_CPUType[i++] = (char)(d & 0xff); d >>= 8;
    1.13 -            SDL_CPUType[i++] = (char)(d & 0xff); d >>= 8;
    1.14 +            SDL_CPUType[i++] = (char)(d & 0xff);
    1.15 +
    1.16              SDL_CPUType[i++] = (char)(c & 0xff); c >>= 8;
    1.17              SDL_CPUType[i++] = (char)(c & 0xff); c >>= 8;
    1.18              SDL_CPUType[i++] = (char)(c & 0xff); c >>= 8;
    1.19 -            SDL_CPUType[i++] = (char)(c & 0xff); c >>= 8;
    1.20 +            SDL_CPUType[i++] = (char)(c & 0xff);
    1.21          }
    1.22          if (!SDL_CPUType[0]) {
    1.23              SDL_strlcpy(SDL_CPUType, "Unknown", sizeof(SDL_CPUType));