Revert "Missed a case. Fixes #730"

This commit is contained in:
Learath2 2017-04-13 01:49:21 +02:00
parent 6f93be03cc
commit 38cd5e89a5

View file

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