Revision: 7629
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7629&view=rev
Author:   hofman
Date:     2012-01-22 23:56:48 +0000 (Sun, 22 Jan 2012)
Log Message:
-----------
fix check for type select cancel event

Modified Paths:
--------------
    trunk/SKTypeSelectHelper.m

Modified: trunk/SKTypeSelectHelper.m
===================================================================
--- trunk/SKTypeSelectHelper.m  2012-01-22 13:43:07 UTC (rev 7628)
+++ trunk/SKTypeSelectHelper.m  2012-01-22 23:56:48 UTC (rev 7629)
@@ -206,7 +206,7 @@
 }
 
 - (BOOL)isCancelEvent:(NSEvent *)keyEvent {
-    return isProcessing == NO && [keyEvent deviceIndependentModifierFlags] == 
0 && [keyEvent firstCharacter] == CANCEL_CHARACTER;
+    return isProcessing && [keyEvent deviceIndependentModifierFlags] == 0 && 
[keyEvent firstCharacter] == CANCEL_CHARACTER;
 }
 
 // See 
http://www.mactech.com/articles/mactech/Vol.18/18.10/1810TableTechniques/index.html

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to