// Created by Sam McCall on 5/05/09.
//
+#import "JSActionButton.h"
+
@implementation JSActionButton {
BOOL active;
}
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
- self.name = [NSString stringWithFormat:@"Button %d", self.index + 1];
+ self.name = [NSString stringWithFormat:@"Button %d", self.index];
}
return self;
}