[BACK]Return to key-bindings.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/key-bindings.c between version 1.81 and 1.82

version 1.81, 2017/06/09 14:00:46 version 1.82, 2017/09/08 08:45:27
Line 138 
Line 138 
 key_bindings_remove_table(const char *name)  key_bindings_remove_table(const char *name)
 {  {
         struct key_table        *table;          struct key_table        *table;
           struct client           *c;
   
         table = key_bindings_get_table(name, 0);          table = key_bindings_get_table(name, 0);
         if (table != NULL) {          if (table != NULL) {
                 RB_REMOVE(key_tables, &key_tables, table);                  RB_REMOVE(key_tables, &key_tables, table);
                 key_bindings_unref_table(table);                  key_bindings_unref_table(table);
           }
           TAILQ_FOREACH(c, &clients, entry) {
                   if (c->keytable == table)
                           server_client_set_key_table(c, NULL);
         }          }
 }  }
   

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82