More warnings fixed.

This commit is contained in:
Damiano Galassi committed 2014-10-21 18:42:25 +02:00
1 parent c7e9a124f3
commit db5f14f730
2 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -537,10 +537,15 @@ static const genreType_t genreType_strings[] = {
isEdited = YES;
}
}
else {
else if ([value isKindOfClass:[NSString class]]) {
[tagsDict setValue:value forKey:key];
isEdited = YES;
}
else {
NSLog(@"Weird object here");
NSLog(@"%@", value);
noErr = NO;
}
}
else if ([key isEqualToString:@"Gapless"]) {
if ([value isKindOfClass:[NSNumber class]]) {