Hans Leidekker : msi: Perform a case insensitive match on the volume label.

Alexandre Julliard julliard at winehq.org
Tue Nov 22 13:06:43 CST 2011


Module: wine
Branch: master
Commit: 3ad3a184d5cbb92dd6fb94c82a27dda23e4cd3c8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3ad3a184d5cbb92dd6fb94c82a27dda23e4cd3c8

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Nov 22 10:30:23 2011 +0100

msi: Perform a case insensitive match on the volume label.

---

 dlls/msi/media.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/media.c b/dlls/msi/media.c
index c879af1..9162c3b 100644
--- a/dlls/msi/media.c
+++ b/dlls/msi/media.c
@@ -68,7 +68,7 @@ static BOOL source_matches_volume(MSIMEDIAINFO *mi, LPCWSTR source_root)
         return FALSE;
     }
 
-    return !strcmpW( mi->volume_label, volume_name );
+    return !strcmpiW( mi->volume_label, volume_name );
 }
 
 static UINT msi_change_media(MSIPACKAGE *package, MSIMEDIAINFO *mi)




More information about the wine-cvs mailing list