Commits

Mathieu Virbel  committed f1ded63

fix tabulation to spaces

  • Participants
  • Parent commits 3f66b6e

Comments (0)

Files changed (3)

File src/constants.c

     DEC_CONSTN(KMOD_META);
 
 #define PYGAME_USEREVENT_DROPFILE  0x1000
-	DEC_CONSTS(USEREVENT_DROPFILE, PYGAME_USEREVENT_DROPFILE);
+    DEC_CONSTS(USEREVENT_DROPFILE, PYGAME_USEREVENT_DROPFILE);
 
     MODINIT_RETURN (module);
 
 /* SDL_VIDEOEXPOSE and SDL_QUIT have no attributes */
     }
     if (event->type == SDL_USEREVENT && event->user.code == 0x1000) {
-		insobj (dict, "filename", PyString_FromString(event->user.data1));
-		free(event->user.data1);
-		event->user.data1 = NULL;
-	}
+        insobj (dict, "filename", PyString_FromString(event->user.data1));
+        free(event->user.data1);
+        event->user.data1 = NULL;
+    }
     if (event->type >= SDL_USEREVENT && event->type < SDL_NUMEVENTS)
         insobj (dict, "code", PyInt_FromLong (event->user.code));
 

File src/sdlmain_osx.m

 
     /* Post the event, if desired */
     posted = 0;
-	SDL_Event event;
-	event.type = SDL_USEREVENT;
-	event.user.code = 0x1000;
-	event.user.data1 = SDL_strdup([filename UTF8String]);
-	posted = (SDL_PushEvent(&event) > 0);
+    SDL_Event event;
+    event.type = SDL_USEREVENT;
+    event.user.code = 0x1000;
+    event.user.data1 = SDL_strdup([filename UTF8String]);
+    posted = (SDL_PushEvent(&event) > 0);
     return (BOOL)(posted);
 }
 @end