diff src/events/SDL_mouse.c @ 2765:f55c87ae336b

Final merge of Google Summer of Code 2008 work... Bring SDL to iPhone and iPod Touch by Holmes Futrell, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Sat, 04 Oct 2008 06:46:59 +0000
parents 76c2fc9696ea
children f7872b7a8732
line wrap: on
line diff
--- a/src/events/SDL_mouse.c	Wed Sep 17 08:24:51 2008 +0000
+++ b/src/events/SDL_mouse.c	Sat Oct 04 06:46:59 2008 +0000
@@ -184,7 +184,7 @@
         SDL_DelMouse(i);
     }
     SDL_num_mice = 0;
-    SDL_current_mouse = 0;
+    SDL_current_mouse = -1;
 
     if (SDL_mice) {
         SDL_free(SDL_mice);