CYString homepage_;
CYString author_;
- CYString bugs_;
CYString support_;
};
parser = &[database_ records]->Lookup(file_);
_end
+ CYString bugs;
CYString website;
_profile(Package$parse$Find)
{"depiction", &parsed->depiction_},
{"homepage", &parsed->homepage_},
{"website", &website},
- {"bugs", &parsed->bugs_},
+ {"bugs", &bugs},
{"support", &parsed->support_},
{"author", &parsed->author_},
{"md5sum", &parsed->md5sum_},
parsed->homepage_ = website;
if (parsed->homepage_ == parsed->depiction_)
parsed->homepage_.clear();
+ if (parsed->support_.empty())
+ parsed->support_ = bugs;
_end
_end
} }
}
- (NSString *) support {
- return parsed_ != NULL && !parsed_->bugs_.empty() ? parsed_->bugs_ : [[self source] supportForPackage:id_];
+ return parsed_ != NULL && !parsed_->support_.empty() ? parsed_->support_ : [[self source] supportForPackage:id_];
}
- (NSArray *) files {