Use case-insensitive game folder matches for Windows (bug 3913, r=pred).

This commit is contained in:
David Anderson 2009-09-27 02:19:17 -04:00
parent 4fc378d3e2
commit 0cae3ac5a1

View File

@ -92,7 +92,11 @@ bool s_ServerBinCRC_Ok = false;
static bool DoesGameMatch(const char *value)
{
#if defined PLATFORM_WINDOWS
if (strcasecmp(value, g_Game) == 0 ||
#else
if (strcmp(value, g_Game) == 0 ||
#endif
strcmp(value, g_GameDesc) == 0 ||
strcmp(value, g_GameName) == 0)
{