[vlc-commits] Compare a filename ignoring letter case on OS/2

KO Myung-Hun git at videolan.org
Sat Jan 28 16:58:51 CET 2012


vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Sat Jan 28 22:42:05 2012 +0900| [066c6231575901d22e4750273b6e82bf85f7f061] | committer: Rafaël Carré

Compare a filename ignoring letter case on OS/2

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=066c6231575901d22e4750273b6e82bf85f7f061
---

 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))



More information about the vlc-commits mailing list