]> git.sesse.net Git - vlc/commitdiff
* show the svn-revision only if it isn't 'exported'
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 20 Apr 2006 20:32:14 +0000 (20:32 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 20 Apr 2006 20:32:14 +0000 (20:32 +0000)
modules/gui/macosx/about.m

index 84fd925294c88ffa947a0d320ffed6bd59b808be..a86a0aea612b0da8e64cb39ad334c2044d98e4f9 100644 (file)
@@ -76,9 +76,13 @@ static VLAboutBox *_o_sharedInstance = nil;
         o_version = [o_info_dict objectForKey:@"CFBundleVersion"];
         
         /* setup the creator / revision field */
+        if( VLC_Changeset() != "exported" )
         [o_revision_field setStringValue: [NSString stringWithFormat: \
             _NS("Compiled by %s, based on SVN revision %s"), VLC_CompileBy(), \
             VLC_Changeset()]];
+        else
+        [o_revision_field setStringValue: [NSString stringWithFormat: \
+            _NS("Compiled by %s"), VLC_CompileBy()]];
     
         /* Setup the nameversion field */
         o_name_version = [NSString stringWithFormat:@"Version %@", o_version];