~azonenberg/kicad/advanced-feature-bugfixes

« back to all changes in this revision

Viewing changes to include/tool/tool_event.h

  • Committer: Andrew Zonenberg
  • Date: 2015-07-13 04:57:07 UTC
  • Revision ID: azonenberg@skipjack.lab.troy.drawersteak.com-20150713045707-drimxkha2jqlv2mu
Removed a couple of trailing spaces

Show diffs side-by-side

added added

removed removed

Lines of Context:
346
346
            if( (bool) m_commandId && (bool) aEvent.m_commandId )
347
347
                return *m_commandId == *aEvent.m_commandId;
348
348
        }
349
 
        
 
349
 
350
350
        // BUGFIX: TA_ANY should match EVERYTHING, even TA_NONE (for TC_MESSAGE)
351
351
        if( m_actions == TA_ANY && aEvent.m_actions == TA_NONE && aEvent.m_category == TC_MESSAGE)
352
352
            return true;
353
 
        
 
353
 
354
354
        // BUGFIX: This check must happen after the TC_COMMAND check because otherwise events of
355
355
        // the form { TC_COMMAND, TA_NONE } will be incorrectly skipped
356
356
        if( !( m_actions & aEvent.m_actions ) )