projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show an error message if opening input devices fail. Move real vs. configuration...
[enjoyable.git]
/
JSActionButton.m
diff --git
a/JSActionButton.m
b/JSActionButton.m
index
c358c8d
..
58503c8
100644
(file)
--- a/
JSActionButton.m
+++ b/
JSActionButton.m
@@
-5,6
+5,8
@@
// Created by Sam McCall on 5/05/09.
//
// Created by Sam McCall on 5/05/09.
//
+#import "JSActionButton.h"
+
@implementation JSActionButton {
BOOL active;
}
@implementation JSActionButton {
BOOL active;
}
@@
-17,9
+19,9
@@
self.index = idx;
self.max = max_;
if (name_.length)
self.index = idx;
self.max = max_;
if (name_.length)
- self.name = [NSString stringWithFormat:@"Button %d - %@", self.index
+ 1
, name_];
+ self.name = [NSString stringWithFormat:@"Button %d - %@", self.index, name_];
else
else
- self.name = [NSString stringWithFormat:@"Button %d", self.index
+ 1
];
+ self.name = [NSString stringWithFormat:@"Button %d", self.index];
}
return self;
}
}
return self;
}