diff options
Diffstat (limited to 'chrome/browser/cocoa/about_window_controller.mm')
-rw-r--r-- | chrome/browser/cocoa/about_window_controller.mm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/about_window_controller.mm b/chrome/browser/cocoa/about_window_controller.mm index 77c3272..edaf9cb 100644 --- a/chrome/browser/cocoa/about_window_controller.mm +++ b/chrome/browser/cocoa/about_window_controller.mm @@ -129,16 +129,20 @@ static BOOL recentShownUserActionFailedStatus = NO; [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]; |