1
0
forked from 0ad/0ad

Fixed Release-mode crash on middle-mouse up

This was SVN commit r3117.
This commit is contained in:
Ykkrosh 2005-11-07 21:52:27 +00:00
parent 9476dc4ad0
commit e6a4dd7f3f

View File

@ -703,6 +703,7 @@ static LRESULT OnMouseButton(HWND UNUSED(hWnd), UINT uMsg, int x, int y, UINT UN
case WM_MBUTTONUP:
button = SDL_BUTTON_MIDDLE;
state = SDL_RELEASED;
break;
default:
UNREACHABLE;
}