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
9ad201ec
Commit
9ad201ec
authored
Sep 19, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not set never used value
parent
b3790080
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/text/wincp.c
src/text/wincp.c
+2
-2
No files found.
src/text/wincp.c
View file @
9ad201ec
...
@@ -191,14 +191,14 @@ static const char *FindFallbackEncoding (const char *locale)
...
@@ -191,14 +191,14 @@ static const char *FindFallbackEncoding (const char *locale)
const
char
*
GetFallbackEncoding
(
void
)
const
char
*
GetFallbackEncoding
(
void
)
{
{
#ifndef WIN32
#ifndef WIN32
const
char
*
psz_lang
=
NULL
;
const
char
*
psz_lang
;
/* Some systems (like Darwin, SunOS 4 or DJGPP) have only the C locale.
/* Some systems (like Darwin, SunOS 4 or DJGPP) have only the C locale.
* Therefore we don't use setlocale here; it would return "C". */
* Therefore we don't use setlocale here; it would return "C". */
# if defined (HAVE_SETLOCALE) && !defined ( __APPLE__)
# if defined (HAVE_SETLOCALE) && !defined ( __APPLE__)
psz_lang
=
setlocale
(
LC_ALL
,
NULL
);
psz_lang
=
setlocale
(
LC_ALL
,
NULL
);
# endif
if
(
psz_lang
==
NULL
)
if
(
psz_lang
==
NULL
)
# endif
{
{
psz_lang
=
getenv
(
"LC_ALL"
);
psz_lang
=
getenv
(
"LC_ALL"
);
if
((
psz_lang
==
NULL
)
||
!*
psz_lang
)
if
((
psz_lang
==
NULL
)
||
!*
psz_lang
)
...
...
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