Commit 4c106a93 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winspool.drv: Don't use strcasecmp.

parent ce07ba6c
......@@ -1194,14 +1194,14 @@ static BOOL PRINTCAP_ParseEntry( const char *pent, BOOL isfirst )
e = s;
while(isspace(*--e)) *e = '\0';
TRACE("\t%s\n", debugstr_a(prettyname));
if(env_default && !strcasecmp(prettyname, env_default)) set_default = TRUE;
if(env_default && !_strnicmp(prettyname, env_default, -1)) set_default = TRUE;
for(prettyname = s+1; isspace(*prettyname); prettyname++)
;
}
e = prettyname + strlen(prettyname);
while(isspace(*--e)) *e = '\0';
TRACE("\t%s\n", debugstr_a(prettyname));
if(env_default && !strcasecmp(prettyname, env_default)) set_default = TRUE;
if(env_default && !_strnicmp(prettyname, env_default, -1)) set_default = TRUE;
/* prettyname must fit into the dmDeviceName member of DEVMODE struct,
* if it is too long, we use it as comment below. */
......
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