From: <ave...@us...> - 2004-01-09 17:44:31
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/SDLVideo In directory sc8-pr-cvs1:/tmp/cvs-serv10007/SDLVideo Modified Files: SDLVideoDriver.cpp Log Message: Mod: Applied DragonMeat's mouse patch Index: SDLVideoDriver.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/SDLVideo/SDLVideoDriver.cpp,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** SDLVideoDriver.cpp 9 Jan 2004 11:41:05 -0000 1.56 --- SDLVideoDriver.cpp 9 Jan 2004 17:44:28 -0000 1.57 *************** *** 407,411 **** CursorPos.y = event.button.y-mouseAdjustY[CursorIndex]; if(Evnt) ! Evnt->MouseDown(event.button.x, event.button.y, event.button.button, 0); } break; --- 407,411 ---- CursorPos.y = event.button.y-mouseAdjustY[CursorIndex]; if(Evnt) ! Evnt->MouseDown(event.button.x, event.button.y, 1<<(event.button.button-1), 0); } break; *************** *** 419,423 **** CursorPos.y = event.button.y-mouseAdjustY[CursorIndex]; if(Evnt) ! Evnt->MouseUp(event.button.x, event.button.y, event.button.button, 0); } break; --- 419,423 ---- CursorPos.y = event.button.y-mouseAdjustY[CursorIndex]; if(Evnt) ! Evnt->MouseUp(event.button.x, event.button.y, 1<<(event.button.button-1), 0); } break; |