From 171857a7a879abff3c5e6f6aa20682a2e82cb4af Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 23 Sep 2013 10:02:01 +0200 Subject: [PATCH] FIxed TOOL_EVENT::Modifier() (now it returns value for current modifier, not only if there is one active or not). --- include/tool/tool_event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tool/tool_event.h b/include/tool/tool_event.h index 60c8eba326..15438c8dd8 100644 --- a/include/tool/tool_event.h +++ b/include/tool/tool_event.h @@ -231,7 +231,7 @@ public: return m_actions == TA_CancelTool; } - bool Modifier( int aMask = MD_ModifierMask ) const + int Modifier( int aMask = MD_ModifierMask ) const { return ( m_modifiers & aMask ); }