Commits

Lenard Lindstrom committed ea51ee9

minor fixes for symbian merge

  • Participants
  • Parent commits 94e2484

Comments (0)

Files changed (4)

         MODINIT_ERROR;
     }
 
-    colordict = PyImport_ImportModule (MODPREFIX "colordict");
+    colordict = PyImport_ImportModule (IMPPREFIX "colordict");
     if (colordict)
     {
         PyObject *_dict = PyModule_GetDict (colordict);
     dict = PyModule_GetDict (module);
 
     /* add the event module functions if available */
-    eventmodule = PyImport_ImportModule (IMPPREFIX "pygame.event");
+    eventmodule = PyImport_ImportModule (IMPPREFIX "event");
     if (eventmodule)
     {
         char *NAMES[] = {"Event", "event_name", NULL};
 #if PY3
     PyObject *oname, *odecoded = NULL;
 #endif
-#if PY3
-    PyObject *oname, *odecoded = NULL;
-#endif
     char* name = NULL;
     SDL_Surface* surf;
     SDL_RWops *rw;
 #define PYGAME_EXPORT
 #endif
 
-#ifdef __SYMBIAN32__ && PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION == 2
+#if defined(__SYMBIAN32__) && PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION == 2
 
 // These are missing from Python 2.2
 #ifndef Py_RETURN_NONE