aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/platform/MSWindowsScreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/platform/MSWindowsScreen.h')
-rw-r--r--src/lib/platform/MSWindowsScreen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/platform/MSWindowsScreen.h b/src/lib/platform/MSWindowsScreen.h
index 4245d6c..14cd505 100644
--- a/src/lib/platform/MSWindowsScreen.h
+++ b/src/lib/platform/MSWindowsScreen.h
@@ -307,7 +307,7 @@ private:
HotKeyToIDMap m_hotKeyToIDMap;
// map of button state
- bool m_buttons[1 + kButtonExtra0 + 1];
+ bool m_buttons[NumButtonIDs];
// the system shows the mouse cursor when an internal display count
// is >= 0. this count is maintained per application but there's