X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/35486a7ded93b3e89a6b03ec1dbe801f3dfe0edc..88a188f0aa37a7a6402d3d71031244e88104f7a0:/iTunesRemote.m diff --git a/iTunesRemote.m b/iTunesRemote.m index c4079df..7c300b4 100755 --- a/iTunesRemote.m +++ b/iTunesRemote.m @@ -46,7 +46,8 @@ - (BOOL)isAppRunning { NSArray *apps = [[NSWorkspace sharedWorkspace] launchedApplications]; - int i,count = [apps count]; + int i; + int count = [apps count]; for (i = 0; i < count; i++) { if ([[[apps objectAtIndex:i] objectForKey:@"NSApplicationName"] @@ -248,7 +249,8 @@ { NSArray *apps = [[NSWorkspace sharedWorkspace] launchedApplications]; ProcessSerialNumber number; - int i, count = [apps count]; + int i; + int count = [apps count]; number.highLongOfPSN = kNoProcess;