Commit c058582a authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

Compare a filename ignoring letter case on OS/2

Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
(cherry picked from commit 066c6231)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 182637bf
...@@ -173,7 +173,7 @@ static int Open( vlc_object_t * p_this ) ...@@ -173,7 +173,7 @@ static int Open( vlc_object_t * p_this )
{ {
s_filename = s_path + DIR_SEP_CHAR + psz_file; 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)) if (!strcasecmp(s_filename.c_str(), p_demux->psz_file))
#else #else
if (!s_filename.compare(p_demux->psz_file)) if (!s_filename.compare(p_demux->psz_file))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment