projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix crash when no action is available.
[enjoyable.git]
/
SubAction.m
diff --git
a/SubAction.m
b/SubAction.m
index
07011ca
..
45ad4ea
100644
(file)
--- a/
SubAction.m
+++ b/
SubAction.m
@@
-9,11
+9,7
@@
#import "SubAction.h"
#import "SubAction.h"
-@implementation SubAction {
- BOOL active;
-}
-
-@synthesize active;
+@implementation SubAction
- (id)initWithIndex:(int)newIndex name:(NSString *)newName base:(JSAction *)newBase {
if ((self = [super init])) {
- (id)initWithIndex:(int)newIndex name:(NSString *)newName base:(JSAction *)newBase {
if ((self = [super init])) {
@@
-25,7
+21,7
@@
}
-(NSString*) stringify {
}
-(NSString*) stringify {
- return [[NSString alloc] initWithFormat: @"%@~%d", [base stringify], self.index];
+ return [[NSString alloc] initWithFormat: @"%@~%d", [
self.
base stringify], self.index];
}
@end
}
@end