Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f7705ea7
Commit
f7705ea7
authored
Mar 06, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setlocale() (very) early, so we may have a chance to use nl_langinfo
before initializing LibVLC (refs #838)
parent
0699b600
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/vlc.c
src/vlc.c
+4
-1
No files found.
src/vlc.c
View file @
f7705ea7
...
...
@@ -30,6 +30,7 @@
#include <vlc/vlc.h>
#include <stdio.h>
/* fprintf() */
#include <stdlib.h>
/* putenv(), strtol(), */
#include <locale.h>
/*****************************************************************************
...
...
@@ -57,6 +58,8 @@ int main( int i_argc, char *ppsz_argv[] )
{
int
i_ret
;
setlocale
(
LC_ALL
,
""
);
#ifndef __APPLE__
/* This clutters OSX GUI error logs */
fprintf
(
stderr
,
"VLC media player %s
\n
"
,
VLC_Version
()
);
...
...
@@ -145,7 +148,7 @@ int main( int i_argc, char *ppsz_argv[] )
}
else
{
ppsz_argv
[
i
]
=
""
;
ppsz_argv
[
i
]
=
strdup
(
""
)
;
}
}
else
...
...
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