Commit 49ce3132 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

user.exe16: Don't use strncasecmp.

parent 267064dc
......@@ -416,7 +416,7 @@ INT16 WINAPI BuildCommDCB16(LPCSTR device, LPDCB16 lpdcb)
TRACE("(%s), ptr %p\n", device, lpdcb);
if (strncasecmp(device,"COM",3))
if (_strnicmp(device,"COM",3))
return -1;
port = device[3] - '0';
......@@ -457,7 +457,7 @@ INT16 WINAPI OpenComm16(LPCSTR device,UINT16 cbInQueue,UINT16 cbOutQueue)
if (port-- == 0)
ERR("BUG ! COM0 or LPT0 don't exist !\n");
if (!strncasecmp(device,"COM",3))
if (!_strnicmp(device,"COM",3))
{
if (COM[port].handle)
return IE_OPEN;
......@@ -508,7 +508,7 @@ INT16 WINAPI OpenComm16(LPCSTR device,UINT16 cbInQueue,UINT16 cbOutQueue)
}
}
else
if (!strncasecmp(device,"LPT",3)) {
if (!_strnicmp(device,"LPT",3)) {
if (LPT[port].handle)
return IE_OPEN;
......
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