[vlc-devel] [PATCH 7/8] Compare a filename ignoring letter case on OS/2
KO Myung-Hun
komh78 at gmail.com
Sat Jan 28 14:42:05 CET 2012
---
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))
--
1.7.3.2
More information about the vlc-devel
mailing list