Fix a crash when trying to access cvars through typing the name into the console with the wrong case

git-svn-id: https://svn.eduke32.com/eduke32@7365 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-03-02 23:21:16 +00:00
parent f7d4209084
commit 3775bce3d7

View file

@ -2045,7 +2045,7 @@ static osdsymbol_t * osd_findexactsymbol(const char *pszName)
int osdcmd_cvar_set(osdcmdptr_t parm)
{
int const printValue = (parm->numparms == 0);
int const cvaridx = hash_find(&h_cvars, parm->name);
int const cvaridx = hash_findcase(&h_cvars, parm->name);
#if 0
if (i < 0)