Kenneth Bull to SDL
Kenneth Bull to SDL

I noticed in trunk/SDL/src/video/win32/SDL_win32events.c, in this code here...

... if the device handle isn't found in mice[], which it won't be if
the mouse was plugged in after SDL_Init, then you end up with an
uninitialized value in index, which is then passed to various
SDL_SendMouse* functions.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403790

aduros/SDL,cebash/SDL_PSL1GHT,aduros/SDL,aduros/SDL,cebash/SDL_PSL1GHT,cebash/SDL_PSL1GHT,cebash/SDL_PSL1GHT,cebash/SDL_PSL1GHT,aduros/SDL,aduros/SDL