summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/cl_keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_keys.c b/src/client/cl_keys.c
index b1c81e65..0fbddd23 100644
--- a/src/client/cl_keys.c
+++ b/src/client/cl_keys.c
@@ -944,7 +944,7 @@ void Key_Bind_f (void)
if (c == 2)
{
- if (keys[b].binding)
+ if (keys[b].binding && keys[b].binding[0])
Com_Printf ("\"%s\" = \"%s\"\n", Key_KeynumToString(b), keys[b].binding );
else
Com_Printf ("\"%s\" is not bound\n", Key_KeynumToString(b) );