[Scummvm-cvs-logs] scummvm master -> 5ea975ad0cea675cd07d47e0e1df35230ea5e1e9

lordhoto lordhoto at gmail.com
Sat Oct 1 15:59:54 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5ea975ad0c SDL: Fix indentation.


Commit: 5ea975ad0cea675cd07d47e0e1df35230ea5e1e9
    https://github.com/scummvm/scummvm/commit/5ea975ad0cea675cd07d47e0e1df35230ea5e1e9
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-10-01T06:53:15-07:00

Commit Message:
SDL: Fix indentation.

Changed paths:
    backends/events/sdl/sdl-events.cpp



diff --git a/backends/events/sdl/sdl-events.cpp b/backends/events/sdl/sdl-events.cpp
index b1e2667..f941716 100644
--- a/backends/events/sdl/sdl-events.cpp
+++ b/backends/events/sdl/sdl-events.cpp
@@ -438,11 +438,11 @@ bool SdlEventSource::handleKeyDown(SDL_Event &ev, Common::Event &event) {
 	}
 
 	#ifdef WIN32
-		// On Windows, also use the default Alt-F4 quit combination
-		if ((ev.key.keysym.mod & KMOD_ALT) && ev.key.keysym.sym == SDLK_F4) {
-			event.type = Common::EVENT_QUIT;
-			return true;
-		}
+	// On Windows, also use the default Alt-F4 quit combination
+	if ((ev.key.keysym.mod & KMOD_ALT) && ev.key.keysym.sym == SDLK_F4) {
+		event.type = Common::EVENT_QUIT;
+		return true;
+	}
 	#endif
 #endif
 






More information about the Scummvm-git-logs mailing list