Fix incorrect strcasecmp usage.
Mike McCormack
mike at codeweavers.com
Thu Jul 17 13:47:00 CDT 2003
ChangeLog:
* Fix incorrect strcasecmp usage.
-------------- next part --------------
Index: dlls/winmm/mci.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/mci.c,v
retrieving revision 1.42
diff -u -r1.42 mci.c
--- dlls/winmm/mci.c 30 Apr 2003 17:28:45 -0000 1.42
+++ dlls/winmm/mci.c 17 Jul 2003 18:46:03 -0000
@@ -512,7 +512,7 @@
/* silence warning if all is used... some bogus program use commands like
* 'open all'...
*/
- if (strcasecmp(strDevTyp, "all") != 0) {
+ if (strcasecmp(strDevTyp, "all") == 0) {
dwRet = MCIERR_CANNOT_USE_ALL;
} else {
FIXME("Couldn't load driver for type %s.\n"
More information about the wine-patches
mailing list