Revision: 2580
http://tmux.svn.sourceforge.net/tmux/?rev=2580&view=rev
Author: tcunha
Date: 2011-08-21 12:36:43 +0000 (Sun, 21 Aug 2011)
Log Message:
-----------
Sync OpenBSD patchset 944:
Use key_bindings_remove for unbind-key -a to allow it to work from key
bindings. From "miaout17" SF bug 3392063.
Modified Paths:
--------------
trunk/cmd-unbind-key.c
Modified: trunk/cmd-unbind-key.c
===================================================================
--- trunk/cmd-unbind-key.c 2011-08-21 12:35:47 UTC (rev 2579)
+++ trunk/cmd-unbind-key.c 2011-08-21 12:36:43 UTC (rev 2580)
@@ -59,9 +59,7 @@
if (args_has(args, 'a')) {
while (!SPLAY_EMPTY(&key_bindings)) {
bd = SPLAY_ROOT(&key_bindings);
- SPLAY_REMOVE(key_bindings, &key_bindings, bd);
- cmd_list_free(bd->cmdlist);
- xfree(bd);
+ key_bindings_remove(bd->key);
}
return (0);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs