Permalink
Browse files

Fixing artwork for iTunes 10.4, fixes #3

  • Loading branch information...
kgn committed Jul 21, 2011
1 parent 7af6ba2 commit 5f087c868011f55a7f85b432d028866e5e37ae3a
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/ETTrack.m
View
@@ -159,7 +159,7 @@ - (NSArray *)artwork
}
unsigned char *pictBytes = malloc(resultSize);
- err = AEGetParamPtr(dataReplyEvent, keyDirectObject, typePict, &resultType,
+ err = AEGetParamPtr(dataReplyEvent, keyDirectObject, resultType, &resultType,
pictBytes, resultSize, &resultSize);
if (err != noErr) {
ETLog(@"Failed to extract PICT data to buffer: %d", err);

0 comments on commit 5f087c8

Please sign in to comment.