Default nil or empty version string to CFBundleVersion
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1470 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
fed2e33bd1
commit
28c9c9b82c
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ bool Breakpad::ExtractParameters(NSDictionary *parameters) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!version)
|
if (!version.length) // Default nil or empty string to CFBundleVersion
|
||||||
version = [parameters objectForKey:@"CFBundleVersion"];
|
version = [parameters objectForKey:@"CFBundleVersion"];
|
||||||
|
|
||||||
if (!vendor) {
|
if (!vendor) {
|
||||||
|
|
Loading…
Reference in a new issue