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
964728f3
Commit
964728f3
authored
Jul 12, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Yet another strncmp => memcmp (refs #258)
parent
d73832f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/misc/iso_lang.c
src/misc/iso_lang.c
+1
-1
No files found.
src/misc/iso_lang.c
View file @
964728f3
...
@@ -54,7 +54,7 @@ const char * DecodeLanguage( uint16_t i_code )
...
@@ -54,7 +54,7 @@ const char * DecodeLanguage( uint16_t i_code )
for
(
p_lang
=
p_languages
;
p_lang
->
psz_eng_name
;
p_lang
++
)
for
(
p_lang
=
p_languages
;
p_lang
->
psz_eng_name
;
p_lang
++
)
{
{
if
(
!
strn
cmp
(
p_lang
->
psz_iso639_1
,
psz_code
,
2
)
)
if
(
!
mem
cmp
(
p_lang
->
psz_iso639_1
,
psz_code
,
2
)
)
{
{
# if 0
# if 0
if
(
*
p_lang
->
psz_native_name
)
if
(
*
p_lang
->
psz_native_name
)
...
...
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