]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/about.m
playlist.m: Fix the so problematic 21193.
[vlc] / modules / gui / macosx / about.m
index 37eec93bcb927c1685dafce43842eef497d7a455..49f48b6432fede5514a8e65dfe3acc666a8fb00b 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * about.m: MacOS X About Panel
  *****************************************************************************
- * Copyright (C) 2001-2005 the VideoLAN team
+ * Copyright (C) 2001-2007 the VideoLAN team
  * $Id$
  *
  * Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -76,12 +76,16 @@ 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_name, o_version];
+        o_name_version = [NSString stringWithFormat:@"Version %@", o_version];
         [o_name_version_field setStringValue: o_name_version];
         
         /* Setup our credits */