git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
w00t. ITButton and ITButtonCell. Also, ITTextField is now correctly implemented...
[ITKit.git]
/
ITHotKey.m
diff --git
a/ITHotKey.m
b/ITHotKey.m
index
bf411f9
..
0e2ddc3
100755
(executable)
--- a/
ITHotKey.m
+++ b/
ITHotKey.m
@@
-14,9
+14,7
@@
- (id)init
{
- (id)init
{
- self = [super init];
-
- if( self )
+ if ( (self = [super init]) )
{
[self setKeyCombo: [ITKeyCombo clearKeyCombo]];
}
{
[self setKeyCombo: [ITKeyCombo clearKeyCombo]];
}
@@
-34,7
+32,9
@@
- (NSString*)description
{
- (NSString*)description
{
- return [NSString stringWithFormat: @"<%@: %@>", NSStringFromClass( [self class] ), [self keyCombo]];
+ return [NSString stringWithFormat: @"<%@: %@>",
+ NSStringFromClass( [self class] ),
+ [self keyCombo]];
}
#pragma mark -
}
#pragma mark -