From 6be2f73daf11da58131ba6dca879aa50c39dc670 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 16 Aug 2013 15:41:01 -0500 Subject: Fix "bind " message for unbound keys "bind X cmd; unbind X; bind X" now says '"x" is unbound' instead of '"x" = ""' --- src/client/cl_keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) ); -- cgit