Fixed bug in Dumb plugin when title is not found.
parent
9fc6e4eeb1
commit
445797157c
|
@ -193,6 +193,7 @@
|
|||
089C1669FE841209C02AAC07 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Dumb" */;
|
||||
compatibilityVersion = "Xcode 2.4";
|
||||
hasScannedForEncodings = 1;
|
||||
mainGroup = 089C166AFE841209C02AAC07 /* Dumb */;
|
||||
projectDirPath = "";
|
||||
|
@ -202,6 +203,7 @@
|
|||
ProjectRef = 17C8F6990CBEE857008D969D /* Dumb.xcodeproj */;
|
||||
},
|
||||
);
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
8D5B49AC048680CD000E48DA /* Dumb */,
|
||||
);
|
||||
|
|
|
@ -52,9 +52,12 @@
|
|||
|
||||
//Some titles are all spaces?!
|
||||
NSString *title = [[NSString stringWithUTF8String: duh_get_tag(duh, "TITLE")] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
|
||||
|
||||
unload_duh(duh);
|
||||
|
||||
if (title == nil) {
|
||||
title = @"";
|
||||
}
|
||||
|
||||
return [NSDictionary dictionaryWithObject:title forKey:@"title"];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue