Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 11247803b37c18f5c2f1699a15ca336c > files > 2

stepmania-3.9-12mdv2010.1.src.rpm

--- StepMania-3.9-src/src/arch/InputHandler/InputHandler_SDL.cpp.eventmask	2004-09-09 22:12:40.000000000 -0400
+++ StepMania-3.9-src/src/arch/InputHandler/InputHandler_SDL.cpp	2006-12-01 20:03:40.000000000 -0500
@@ -123,7 +123,7 @@
 	SDL_KEYDOWN, SDL_KEYUP, SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP,
 	SDL_JOYAXISMOTION, SDL_JOYHATMOTION, -1
 };
-static int SDL_EventMask;
+static int EventMask;
 
 InputHandler_SDL::InputHandler_SDL()
 {
@@ -173,7 +173,7 @@
 	for(i = 0; Handled_SDL_Events[i] != -1; ++i)
 	{
 		mySDL_EventState(Handled_SDL_Events[i], SDL_ENABLE);
-		SDL_EventMask |= SDL_EVENTMASK(Handled_SDL_Events[i]);
+		EventMask |= SDL_EVENTMASK(Handled_SDL_Events[i]);
 	}
 }
 
@@ -192,7 +192,7 @@
 void InputHandler_SDL::Update(float fDeltaTime)
 {
 	SDL_Event event;
-	while(SDL_GetEvent(event, SDL_EventMask))
+	while(SDL_GetEvent(event, EventMask))
 	{
 		switch(event.type)
 		{