From ee7dfec569032cdafd7f3191ac711cc712ae2e32 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 23 Aug 2003 22:19:07 +0000 Subject: [PATCH] * charset: compilation fix. --- src/misc/charset.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/misc/charset.c b/src/misc/charset.c index cbda20c5d5..cb4611878a 100644 --- a/src/misc/charset.c +++ b/src/misc/charset.c @@ -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 * * vlc_current_charset() an adaption of mp_locale_charset(): - * - * Copyright (C) 2001-2003 The Mape Project - * Written by Karel Zak . + * + * Copyright (C) 2001-2003 The Mape Project + * Written by Karel Zak . * * 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 -#include #include +#include +#include #if !defined WIN32 # if HAVE_LANGINFO_CODESET @@ -42,7 +42,6 @@ # include #endif -#include #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; } -- 2.20.1