diff --git a/src/MacVim/MMApplication.m b/src/MacVim/MMApplication.m index ca8c5c5902..85d5074ec3 100644 --- a/src/MacVim/MMApplication.m +++ b/src/MacVim/MMApplication.m @@ -52,8 +52,12 @@ - (void)orderFrontStandardAboutPanel:(id)sender @"CFBundleVersion"]; NSString *marketingVersion = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]; + + BOOL isPrerelease = [version containsSubstring:@"."]; + NSString *prerelease = isPrerelease ? @"\npre-release" : @""; + NSString *title = [NSString stringWithFormat: - @"Vim %@ (MacVim r%@)", marketingVersion, version]; + @"MacVim r%@ (Vim %@)%@", version, marketingVersion, prerelease]; [self orderFrontStandardAboutPanelWithOptions: [NSDictionary dictionaryWithObjectsAndKeys: