Author: greatlrd
Date: Sun Jul 8 20:24:29 2007
New Revision: 27488
URL:
http://svn.reactos.org/svn/reactos?rev=27488&view=rev
Log:
patch from Yaroslav Ponomarenko yarryp at gmail dot com
fixed last bug for swamp mouse button
Modified:
trunk/reactos/dll/cpl/main/mouse.c
Modified: trunk/reactos/dll/cpl/main/mouse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/main/mouse.c?rev=2…
==============================================================================
--- trunk/reactos/dll/cpl/main/mouse.c (original)
+++ trunk/reactos/dll/cpl/main/mouse.c Sun Jul 8 20:24:29 2007
@@ -369,8 +369,9 @@
{
if (pButtonData->g_OrigSwapMouseButtons !=
pButtonData->g_SwapMouseButtons)
{
+ pButtonData->g_OrigSwapMouseButtons =
pButtonData->g_SwapMouseButtons;
SystemParametersInfo(SPI_SETMOUSEBUTTONSWAP,
pButtonData->g_OrigSwapMouseButtons, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
- pButtonData->g_OrigSwapMouseButtons =
pButtonData->g_SwapMouseButtons;
+
}
#if (WINVER >= 0x0500)