[vlc-devel] [PATCH 7/8] Compare a filename ignoring letter case on OS/2
Rafaël Carré
funman at videolan.org
Sat Jan 28 16:59:06 CET 2012
Le 2012-01-28 08:42, KO Myung-Hun a écrit :
> ---
> modules/demux/mkv/mkv.cpp | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
> index d06231b..fbb7620 100644
> --- a/modules/demux/mkv/mkv.cpp
> +++ b/modules/demux/mkv/mkv.cpp
> @@ -173,7 +173,7 @@ static int Open( vlc_object_t * p_this )
> {
> s_filename = s_path + DIR_SEP_CHAR + psz_file;
>
> -#ifdef WIN32
> +#if defined(WIN32) || defined(__OS2__)
> if (!strcasecmp(s_filename.c_str(), p_demux->psz_file))
> #else
> if (!s_filename.compare(p_demux->psz_file))
Applied, thanks!
More information about the vlc-devel
mailing list