• Sam Lantinga's avatar
    Kenneth Bull to SDL · 5ca4f681
    Sam Lantinga authored
    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
    5ca4f681
SDL_win32events.c 22.9 KB