git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Scripts now run when the player switches to no song playing.
[MenuTunes.git]
/
MTeSerialNumber.m
diff --git
a/MTeSerialNumber.m
b/MTeSerialNumber.m
index
9d8da42
..
5d5de1c
100755
(executable)
--- a/
MTeSerialNumber.m
+++ b/
MTeSerialNumber.m
@@
-19,7
+19,7
@@
extra:(NSString *)extra
publisher:(NSString *)publisher
{
extra:(NSString *)extra
publisher:(NSString *)publisher
{
- if (
self = [super init]
) {
+ if (
(self = [super init])
) {
_serialNumber = serial;
_nameBasedKey = name;
_extraDataKey = nil; //extra data is currently unused.
_serialNumber = serial;
_nameBasedKey = name;
_extraDataKey = nil; //extra data is currently unused.
@@
-134,7
+134,7
@@
NSEnumerator *deadEnum = [_deadSerials objectEnumerator];
id aDeadSerial;
NSEnumerator *deadEnum = [_deadSerials objectEnumerator];
id aDeadSerial;
- while (
aDeadSerial = [deadEnum nextObject]
) {
+ while (
(aDeadSerial = [deadEnum nextObject])
) {
if ( [aDeadSerial isEqualToString:_serialNumber] ) {
dead = YES;
}
if ( [aDeadSerial isEqualToString:_serialNumber] ) {
dead = YES;
}