Commit 604f0e95 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Fixed incorrect strcasecmp usage.

parent dce08299
...@@ -512,7 +512,7 @@ static DWORD MCI_LoadMciDriver(LPCSTR _strDevTyp, LPWINE_MCIDRIVER* lpwmd) ...@@ -512,7 +512,7 @@ static DWORD MCI_LoadMciDriver(LPCSTR _strDevTyp, LPWINE_MCIDRIVER* lpwmd)
/* silence warning if all is used... some bogus program use commands like /* silence warning if all is used... some bogus program use commands like
* 'open all'... * 'open all'...
*/ */
if (strcasecmp(strDevTyp, "all") != 0) { if (strcasecmp(strDevTyp, "all") == 0) {
dwRet = MCIERR_CANNOT_USE_ALL; dwRet = MCIERR_CANNOT_USE_ALL;
} else { } else {
FIXME("Couldn't load driver for type %s.\n" FIXME("Couldn't load driver for type %s.\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment