src/file/SDL_rwops.c
changeset 7191 75360622e65f
parent 7070 65df21723f58
child 7262 3c5f6170df8e
     1.1 --- a/src/file/SDL_rwops.c	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/src/file/SDL_rwops.c	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -47,7 +47,7 @@
     1.4  #define INVALID_SET_FILE_POINTER 0xFFFFFFFF
     1.5  #endif
     1.6  
     1.7 -#define READAHEAD_BUFFER_SIZE	1024
     1.8 +#define READAHEAD_BUFFER_SIZE   1024
     1.9  
    1.10  static int SDLCALL
    1.11  windows_file_open(SDL_RWops * context, const char *filename, const char *mode)
    1.12 @@ -518,12 +518,12 @@
    1.13  
    1.14  #elif HAVE_STDIO_H
    1.15      {
    1.16 -    	#ifdef __APPLE__
    1.17 -    	FILE *fp = SDL_OpenFPFromBundleOrFallback(file, mode);
    1.18 +        #ifdef __APPLE__
    1.19 +        FILE *fp = SDL_OpenFPFromBundleOrFallback(file, mode);
    1.20          #else
    1.21 -    	FILE *fp = fopen(file, mode);
    1.22 -    	#endif
    1.23 -    	if (fp == NULL) {
    1.24 +        FILE *fp = fopen(file, mode);
    1.25 +        #endif
    1.26 +        if (fp == NULL) {
    1.27              SDL_SetError("Couldn't open %s", file);
    1.28          } else {
    1.29              rwops = SDL_RWFromFP(fp, 1);