Fix incorrect strcasecmp usage.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




ChangeLog: * Fix incorrect strcasecmp usage.
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"

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux