Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
8c2706d1
Commit
8c2706d1
authored
Nov 19, 2007
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* forward-port [23152]
parent
bf6da8b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
modules/gui/macosx/about.m
modules/gui/macosx/about.m
+10
-9
No files found.
modules/gui/macosx/about.m
View file @
8c2706d1
...
...
@@ -30,6 +30,14 @@
#include <vlc_about.h>
#import <WebKit/WebKit.h>
#ifdef __x86_64__
#define PLATFORM "Intel"
#elif __i386__
#define PLATFORM "Intel"
#else
#define PLATFORM "PowerPC"
#endif
/*****************************************************************************
* VLAboutBox implementation
*****************************************************************************/
...
...
@@ -63,7 +71,6 @@ static VLAboutBox *_o_sharedInstance = nil;
{
NSString
*
o_name
;
NSString
*
o_version
;
NSString
*
o_platform
;
/* Get the info dictionary (Info.plist) */
o_info_dict
=
[[
NSBundle
mainBundle
]
infoDictionary
];
...
...
@@ -79,12 +86,6 @@ static VLAboutBox *_o_sharedInstance = nil;
/* Set the about box title */
[
o_about_window
setTitle
:
_NS
(
"About VLC media player"
)];
#ifdef __powerpc__ || __ppc__ || __ppc64__
o_platform
=
@"PowerPC"
;
#else
o_platform
=
@"Intel"
;
#endif
/* setup the creator / revision field */
if
(
VLC_Changeset
()
!=
"exported"
)
[
o_revision_field
setStringValue
:
[
NSString
stringWithFormat
:
\
...
...
@@ -95,7 +96,7 @@ static VLAboutBox *_o_sharedInstance = nil;
_NS
(
"Compiled by %s"
),
VLC_CompileBy
()]];
/* Setup the nameversion field */
[
o_name_version_field
setStringValue
:
[
NSString
stringWithFormat
:
@"Version %s (%
@)"
,
VLC_Version
(),
o_platform
]];
[
o_name_version_field
setStringValue
:
[
NSString
stringWithFormat
:
@"Version %s (%
s)"
,
VLC_Version
(),
PLATFORM
]];
/* setup the authors and thanks field */
[
o_credits_textview
setString
:
[
NSString
stringWithFormat
:
@"%@
\n\n\n\n
%@
\n
%@
\n\n
%@"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment