From d4c6711e5138e4198a9e6e990d41d7e5b305989c Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 16 Aug 2013 15:41:01 -0500 Subject: [PATCH] Fix "bind " message for unbound keys "bind X cmd; unbind X; bind X" now says '"x" is unbound' instead of '"x" = ""' --- code/client/cl_keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_keys.c b/code/client/cl_keys.c index 5c3fbf7d..7ad8676d 100644 --- a/code/client/cl_keys.c +++ b/code/client/cl_keys.c @@ -992,7 +992,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) );