X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/0923e41e1f17298b8e12df7615977b92c4d2bfef..5481838f513aaae38088f7b446ad6ea76dba9a25:/iTunesRemote.m diff --git a/iTunesRemote.m b/iTunesRemote.m index ae430a7..b4a745c 100755 --- a/iTunesRemote.m +++ b/iTunesRemote.m @@ -512,7 +512,7 @@ ITDebugLog(@"Getting equalizer enabled status."); int thingy = [[ITAppleEventCenter sharedCenter] sendAEWithSendStringForNumber:@"'----':obj { form:type('prop'), want:type('prop'), seld:type('pEQ '), from:() }" eventClass:@"core" eventID:@"getd" appPSN:savedPSN]; ITDebugLog(@"Done getting equalizer enabled status."); - return thingy; + return (thingy != 0) ? YES : NO; } - (BOOL)setEqualizerEnabled:(BOOL)enabled