mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +00:00
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:
parent
f7d4209084
commit
3775bce3d7
1 changed files with 1 additions and 1 deletions
|
@ -2045,7 +2045,7 @@ static osdsymbol_t * osd_findexactsymbol(const char *pszName)
|
||||||
int osdcmd_cvar_set(osdcmdptr_t parm)
|
int osdcmd_cvar_set(osdcmdptr_t parm)
|
||||||
{
|
{
|
||||||
int const printValue = (parm->numparms == 0);
|
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 0
|
||||||
if (i < 0)
|
if (i < 0)
|
||||||
|
|
Loading…
Reference in a new issue