test/testatomic.c
changeset 9922 b066d5fd5fa7
parent 9619 b94b6d0bff0f
child 9998 f67cf37e9cd4
     1.1 --- a/test/testatomic.c	Wed Nov 25 21:31:02 2015 +0100
     1.2 +++ b/test/testatomic.c	Wed Nov 25 21:39:28 2015 +0100
     1.3 @@ -596,8 +596,8 @@
     1.4      Uint32 start, end;
     1.5      int i, j;
     1.6      int grand_total;
     1.7 -	char textBuffer[1024];
     1.8 -	int len;
     1.9 +    char textBuffer[1024];
    1.10 +    int len;
    1.11  
    1.12      SDL_Log("\nFIFO test---------------------------------------\n\n");
    1.13      SDL_Log("Mode: %s\n", lock_free ? "LockFree" : "Mutex");
    1.14 @@ -686,10 +686,10 @@
    1.15          }
    1.16          grand_total += total;
    1.17          SDL_Log("Reader %d read %d events, had %d waits\n", i, total, readerData[i].waits);
    1.18 -		SDL_snprintf(textBuffer, sizeof(textBuffer), "  { ");
    1.19 +        SDL_snprintf(textBuffer, sizeof(textBuffer), "  { ");
    1.20          for (j = 0; j < NUM_WRITERS; ++j) {
    1.21              if (j > 0) {
    1.22 -				len = SDL_strlen(textBuffer);
    1.23 +                len = SDL_strlen(textBuffer);
    1.24                  SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, ", ");
    1.25              }
    1.26              len = SDL_strlen(textBuffer);
    1.27 @@ -697,7 +697,7 @@
    1.28          }
    1.29          len = SDL_strlen(textBuffer);
    1.30          SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, " }\n");
    1.31 -		SDL_Log("%s", textBuffer);
    1.32 +        SDL_Log("%s", textBuffer);
    1.33      }
    1.34      SDL_Log("Readers read %d total events\n", grand_total);
    1.35  }
    1.36 @@ -708,8 +708,8 @@
    1.37  int
    1.38  main(int argc, char *argv[])
    1.39  {
    1.40 -	/* Enable standard application logging */
    1.41 -	SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
    1.42 +    /* Enable standard application logging */
    1.43 +    SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
    1.44  
    1.45      RunBasicTest();
    1.46      RunEpicTest();