Missed a case. Fixes #730

This commit is contained in:
Learath2 2017-04-13 01:06:40 +02:00 committed by GitHub
parent 348687f629
commit 30a9469df2

View file

@ -72,7 +72,7 @@ const char *CBinds::GetKey(const char *pBindStr)
for(int KeyId = 0; KeyId < KEY_LAST; KeyId++)
{
const char *pBind = Get(KeyId);
if(!pBind[0])
if(!pBind)
continue;
if(str_comp(pBind, pBindStr) == 0)