From 46a9da28d6ca1e3d873b1e8c65897c838c99d037 Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 15 Jun 2017 10:51:18 +0100 Subject: [PATCH] (Fixed typo) --- modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp b/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp index c204d2f89d..895843b79a 100644 --- a/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp +++ b/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp @@ -2214,7 +2214,7 @@ public: { updateKeyModifiers ((int) buttonPressEvent.state); - auto mapIndex = (uint32) (buttonPressEvent.button - Button1) + auto mapIndex = (uint32) (buttonPressEvent.button - Button1); if (mapIndex < numElementsInArray (pointerMap)) { @@ -2239,7 +2239,7 @@ public: if (parentWindow != 0) updateWindowBounds(); - auto mapIndex = (uint32) (buttonRelEvent.button - Button1) + auto mapIndex = (uint32) (buttonRelEvent.button - Button1); if (mapIndex < numElementsInArray (pointerMap)) {