mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
str*cmp -> str*equal, where appropriate.
This commit is contained in:
parent
42ce5b1184
commit
e4608744d2
6 changed files with 27 additions and 28 deletions
|
@ -591,7 +591,7 @@ CL_FullServerinfo_f (void)
|
|||
Con_Printf ("Invalid standards version: %s", p);
|
||||
}
|
||||
if ((p = Info_ValueForKey (cl.serverinfo, "skybox")) && *p) {
|
||||
if (strcasecmp (p, "none") == 0) {
|
||||
if (!strcaseequal (p, "none")) {
|
||||
allowskybox = false;
|
||||
} else {
|
||||
allowskybox = true;
|
||||
|
@ -689,7 +689,7 @@ CL_FullInfo_f (void)
|
|||
if (*s)
|
||||
s++;
|
||||
|
||||
if (!strcasecmp (key, pmodel_name) || !strcasecmp (key, emodel_name))
|
||||
if (strcaseequal (key, pmodel_name) || strcaseequal (key, emodel_name))
|
||||
continue;
|
||||
|
||||
Info_SetValueForKey (cls.userinfo, key, value, MAX_INFO_STRING);
|
||||
|
@ -712,8 +712,9 @@ CL_SetInfo_f (void)
|
|||
Con_Printf ("usage: setinfo [ <key> <value> ]\n");
|
||||
return;
|
||||
}
|
||||
if (!strcasecmp (Cmd_Argv (1), pmodel_name)
|
||||
|| !strcmp (Cmd_Argv (1), emodel_name)) return;
|
||||
if (strcaseequal (Cmd_Argv (1), pmodel_name)
|
||||
|| strcaseequal (Cmd_Argv (1), emodel_name))
|
||||
return;
|
||||
|
||||
Info_SetValueForKey (cls.userinfo, Cmd_Argv (1), Cmd_Argv (2),
|
||||
MAX_INFO_STRING);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue