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
ee7dfec5
Commit
ee7dfec5
authored
Aug 23, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* charset: compilation fix.
parent
dc3b3c39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
src/misc/charset.c
src/misc/charset.c
+8
-9
No files found.
src/misc/charset.c
View file @
ee7dfec5
...
...
@@ -2,14 +2,14 @@
* charset.c: Determine a canonical name for the current locale's character encoding.
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: charset.c,v 1.
1 2003/08/23 12:59:31 hartman
Exp $
* $Id: charset.c,v 1.
2 2003/08/23 22:19:07 fenrir
Exp $
*
* Authors: Derk-Jan Hartman <thedj at users.sf.net>
*
* vlc_current_charset() an adaption of mp_locale_charset():
*
*
Copyright (C) 2001-2003 The Mape Project
*
Written by Karel Zak <zakkr@zf.jcu.cz>.
*
*
Copyright (C) 2001-2003 The Mape Project
*
Written by Karel Zak <zakkr@zf.jcu.cz>.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -26,9 +26,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <vlc/vlc.h>
#if !defined WIN32
# if HAVE_LANGINFO_CODESET
...
...
@@ -42,7 +42,6 @@
# include <windows.h>
#endif
#include <vlc/vlc.h>
#include "charset.h"
typedef
struct
VLCCharsetAlias
...
...
@@ -325,8 +324,8 @@ vlc_bool_t vlc_current_charset( char **psz_charset )
*
psz_charset
=
(
char
*
)
psz_codeset
;
if
(
strcasecmp
(
psz_codeset
,
"UTF8"
)
==
0
||
strcasecmp
(
psz_codeset
,
"UTF-8"
)
==
0
)
return
TRUE
;
return
VLC_
TRUE
;
return
FALSE
;
return
VLC_
FALSE
;
}
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