Skip to content

Commit

Permalink
Use case sensitive string compare for game directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Diordany committed Dec 24, 2023
1 parent 9785099 commit 527c68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -2189,7 +2189,7 @@ static void COM_Game_f (void)
}
}

if (!q_strcasecmp(p, COM_SkipPath(com_gamedir))) //no change
if (!Q_strcmp(p, COM_SkipPath(com_gamedir))) //no change
{
if (com_searchpaths->path_id > 1) { //current game not id1
if (*p2 && com_searchpaths->path_id == 2) {
Expand Down

0 comments on commit 527c68c

Please sign in to comment.