msi: Perform a case insensitive match on the volume label.
Hans Leidekker
hans at codeweavers.com
Tue Nov 22 03:30:23 CST 2011
Fixes http://bugs.winehq.org/show_bug.cgi?id=12346
---
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)
--
1.7.5.4
More information about the wine-patches
mailing list