Commits

Anonymous committed 7bdd5d9

Getting back into things. Reviewing all the checkins over the past
months. No complaints, a few small cosmetic touches.

Comments (0)

Files changed (1)

 	SDL_PumpEvents();
 
 	if(DisplaySurfaceObject)
-		PySurface_AsSurface(DisplaySurfaceObject) = surf;
+		((PySurfaceObject*)DisplaySurfaceObject)->surf = surf;
 	else
 		DisplaySurfaceObject = PySurface_New(surf);
 
 #if !defined(darwin)
 	if(!icon_was_set)
 	{
-		char* iconpath = NULL;
-		SDL_Surface* icon = NULL;
 		PyObject* iconsurf = display_resource(icon_defaultname);
 		if (!iconsurf)
 			PyErr_Clear();