ecere/gui/drivers/Win32Interface: Fixed mousewheel key modifiers from bad merge
authorJerome St-Louis <jerome@ecere.com>
Tue, 18 Feb 2014 08:44:45 +0000 (03:44 -0500)
committerJerome St-Louis <jerome@ecere.com>
Tue, 18 Feb 2014 08:44:45 +0000 (03:44 -0500)
ecere/src/gui/drivers/Win32Interface.ec

index 1296f34..739bae5 100644 (file)
@@ -392,11 +392,11 @@ class Win32Interface : Interface
       if(msg == WM_MOUSEWHEEL)
       {
          if(::GetAsyncKeyState(VK_SHIFT) & 0x80000)
-         code.ctrl = true;
+            code.shift = true;
          if(::GetAsyncKeyState(VK_CONTROL) & 0x80000)
             code.ctrl = true;
          if(::GetAsyncKeyState(VK_MENU) & 0x80000)
-         code.alt = true;
+            code.alt = true;
 
          result = window.KeyMessage(__ecereVMethodID___ecereNameSpace__ecere__gui__Window_OnKeyHit, code, 0);
       }