Commit 32f97907 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* show the svn-revision only if it isn't 'exported'

parent aa1c15b2
...@@ -76,9 +76,13 @@ static VLAboutBox *_o_sharedInstance = nil; ...@@ -76,9 +76,13 @@ static VLAboutBox *_o_sharedInstance = nil;
o_version = [o_info_dict objectForKey:@"CFBundleVersion"]; o_version = [o_info_dict objectForKey:@"CFBundleVersion"];
/* setup the creator / revision field */ /* setup the creator / revision field */
if( VLC_Changeset() != "exported" )
[o_revision_field setStringValue: [NSString stringWithFormat: \ [o_revision_field setStringValue: [NSString stringWithFormat: \
_NS("Compiled by %s, based on SVN revision %s"), VLC_CompileBy(), \ _NS("Compiled by %s, based on SVN revision %s"), VLC_CompileBy(), \
VLC_Changeset()]]; VLC_Changeset()]];
else
[o_revision_field setStringValue: [NSString stringWithFormat: \
_NS("Compiled by %s"), VLC_CompileBy()]];
/* Setup the nameversion field */ /* Setup the nameversion field */
o_name_version = [NSString stringWithFormat:@"Version %@", o_version]; o_name_version = [NSString stringWithFormat:@"Version %@", o_version];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment