projects
/
enjoyable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0555575
)
Fix old check for unset field.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Mon, 4 Mar 2013 13:54:09 +0000
(14:54 +0100)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Mon, 4 Mar 2013 13:54:09 +0000
(14:54 +0100)
NJKeyInputField.m
patch
|
blob
|
history
diff --git
a/NJKeyInputField.m
b/NJKeyInputField.m
index 13aa138beb2baebe053568cc529c56e97ff429ca..b159aa33bb724c5d2e6f9cf01e00159bf2258852 100644
(file)
--- a/
NJKeyInputField.m
+++ b/
NJKeyInputField.m
@@
-27,7
+27,7
@@
CGKeyCode NJKeyInputFieldEmpty = 0xFFFF;
}
- (BOOL)hasKeyCode {
- return self.keyCode
>= 0
;
+ return self.keyCode
!= NJKeyInputFieldEmpty
;
}
+ (NSString *)stringForKeyCode:(CGKeyCode)keyCode {