Revision: 2650
          http://tmux.svn.sourceforge.net/tmux/?rev=2650&view=rev
Author:   tcunha
Date:     2011-12-30 14:15:40 +0000 (Fri, 30 Dec 2011)
Log Message:
-----------
Sync OpenBSD patchset 990:

Reset flags on every loop or it is displayed too often, from Chris
Johnsen.

Modified Paths:
--------------
    trunk/cmd-list-keys.c

Modified: trunk/cmd-list-keys.c
===================================================================
--- trunk/cmd-list-keys.c       2011-12-25 23:36:27 UTC (rev 2649)
+++ trunk/cmd-list-keys.c       2011-12-30 14:15:40 UTC (rev 2650)
@@ -54,7 +54,6 @@
                return (cmd_list_keys_table(self, ctx));
 
        width = 0;
-       *flags = '\0';
 
        SPLAY_FOREACH(bd, key_bindings, &key_bindings) {
                key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);
@@ -78,6 +77,7 @@
                if (key == NULL)
                        continue;
 
+               *flags = '\0';
                if (!(bd->key & KEYC_PREFIX)) {
                        if (bd->can_repeat)
                                xsnprintf(flags, sizeof flags, "-rn ");

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to