From 3775bce3d75b1a4543b011169161022c27140b1e Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 2 Mar 2019 23:21:16 +0000 Subject: [PATCH] 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 --- source/build/src/osd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/osd.cpp b/source/build/src/osd.cpp index 217998a6e..d30863de7 100644 --- a/source/build/src/osd.cpp +++ b/source/build/src/osd.cpp @@ -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)