mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 09:57:34 +00:00
Fixed incorrect strcasecmp usage.
This commit is contained in:
parent
dce0829913
commit
604f0e95fb
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue