commit | e9eb7ecd08ac3b8ce2edc7f78d36f77f7117fd7d | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Thu Mar 06 20:02:17 2014 -0800 |
committer | Sam Lantinga <slouken@libsdl.org> | Thu Mar 06 20:02:17 2014 -0800 |
tree | 74b9177542b585152842361b2b8df9c7bd202170 | |
parent | 9e67444a363e217773562fb687c2503ba4cf1d45 [diff] |
Fixed bug 2430 - Missing initialization of the variable 'centroid' inside SDL_GestureAddTouch klose File: SDL_gesture.c Method: SDL_GestureAddTouch When a new SDL_GestureTouch element is added to the global SDL_gestureTouch array the variable 'centroid' of the new element is not initialized. The problem is that this variable is read isndie SDL_GestureProcessEvent when a SDL_FINGERDOWN event occurs.