mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-13 14:28:01 +00:00
host_cmd.c (Modlist_Init): fix the return value check for Q_strcasecmp().
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@89 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
0b9e24ba9f
commit
544a98a675
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ void Modlist_Init (void)
|
|||
{
|
||||
if ((strcmp(mod_dir_t->d_name, ".") == 0) || (strcmp(mod_dir_t->d_name, "..") == 0))
|
||||
continue;
|
||||
if (Q_strcasecmp(mod_dir_t->d_name, "progs.dat") != -1)
|
||||
if (Q_strcasecmp(mod_dir_t->d_name, "progs.dat") == 0)
|
||||
progs_found = true;
|
||||
if (strstr(mod_dir_t->d_name, ".pak") || strstr(mod_dir_t->d_name, ".PAK"))
|
||||
pak_found = true;
|
||||
|
|
Loading…
Reference in a new issue