Fixed incorrect strcasecmp usage.

oldstable
Mike McCormack 2003-07-18 22:59:41 +00:00 committed by Alexandre Julliard
parent dce0829913
commit 604f0e95fb
1 changed files with 1 additions and 1 deletions

View File

@ -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
* '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"