| Index: chrome/browser/cocoa/about_window_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/about_window_controller.mm (revision 34980)
|
| +++ chrome/browser/cocoa/about_window_controller.mm (working copy)
|
| @@ -129,16 +129,20 @@
|
| [bundle objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
|
|
|
| NSString* versionModifier = @"";
|
| + NSString* svnRevision = @"";
|
| string16 modifier = platform_util::GetVersionStringModifier();
|
| if (modifier.length())
|
| versionModifier = [NSString stringWithFormat:@" %@",
|
| base::SysUTF16ToNSString(modifier)];
|
|
|
| +#if !defined(GOOGLE_CHROME_BUILD)
|
| + svnRevision = [NSString stringWithFormat:@" (%@)",
|
| + [bundle objectForInfoDictionaryKey:@"SVNRevision"]];
|
| +#endif
|
| // The format string is not localized, but this is how the displayed version
|
| // is built on Windows too.
|
| - NSString* svnRevision = [bundle objectForInfoDictionaryKey:@"SVNRevision"];
|
| NSString* version =
|
| - [NSString stringWithFormat:@"%@ (%@)%@",
|
| + [NSString stringWithFormat:@"%@%@%@",
|
| chromeVersion, svnRevision, versionModifier];
|
|
|
| [version_ setStringValue:version];
|
|
|