Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e05f7924
Commit
e05f7924
authored
Mar 14, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for obsolete setups
parent
d7892111
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/text/unicode.c
src/text/unicode.c
+2
-2
No files found.
src/text/unicode.c
View file @
e05f7924
...
@@ -91,7 +91,7 @@ static int find_charset (void)
...
@@ -91,7 +91,7 @@ static int find_charset (void)
{
{
static
pthread_once_t
once
=
PTHREAD_ONCE_INIT
;
static
pthread_once_t
once
=
PTHREAD_ONCE_INIT
;
pthread_once
(
&
once
,
find_charset_once
);
pthread_once
(
&
once
,
find_charset_once
);
return
strcmp
(
charset
,
"UTF-8"
);
return
!
strcmp
(
charset
,
"UTF-8"
);
}
}
#endif
#endif
...
@@ -173,7 +173,7 @@ static inline char *locale_dup (const char *string, vlc_bool_t from)
...
@@ -173,7 +173,7 @@ static inline char *locale_dup (const char *string, vlc_bool_t from)
void
LocaleFree
(
const
char
*
str
)
void
LocaleFree
(
const
char
*
str
)
{
{
#if defined (USE_ICONV)
#if defined (USE_ICONV)
if
(
strcmp
(
charset
,
"UTF-8"
))
if
(
find_charset
(
))
free
((
char
*
)
str
);
free
((
char
*
)
str
);
#elif defined (USE_MB2MB)
#elif defined (USE_MB2MB)
free
((
char
*
)
str
);
free
((
char
*
)
str
);
...
...
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