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
9ed8a0c1
Commit
9ed8a0c1
authored
Jul 11, 2005
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/misc/charset.c: if(a<b<c) is a pythonism and doesn't work in C.
parent
07d9dbd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/misc/charset.c
src/misc/charset.c
+2
-1
No files found.
src/misc/charset.c
View file @
9ed8a0c1
...
...
@@ -213,7 +213,8 @@ static char *vlc_encoding_from_locale( char *psz_locale )
if
(
psz_modifier
==
NULL
)
return
psz_dot
;
if
(
0
<
(
psz_modifier
-
psz_dot
)
<
sizeof
(
buf
))
if
(
0
<
(
psz_modifier
-
psz_dot
)
&&
(
psz_modifier
-
psz_dot
)
<
sizeof
(
buf
))
{
memcpy
(
buf
,
psz_dot
,
psz_modifier
-
psz_dot
);
buf
[
psz_modifier
-
psz_dot
]
=
'\0'
;
...
...
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