summaryrefslogtreecommitdiff
path: root/games/chromium/patches/40_sdl_quit.diff
blob: ade65a60381dc2c1e9a4d144f9335970d8ca86f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: chromium-0.9.12/src/MainSDL_Event.cpp
===================================================================
--- chromium-0.9.12.orig/src/MainSDL_Event.cpp	2007-04-06 22:28:46.000000000 +0200
+++ chromium-0.9.12/src/MainSDL_Event.cpp	2007-04-06 22:29:28.000000000 +0200
@@ -71,6 +71,8 @@
 		case SDL_JOYBUTTONUP:
 			joystickButtonUp(event);
 			break;
+		case SDL_QUIT:
+			return true;
 		default:
 			break;
 	}