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

Diff for /src/usr.bin/tmux/window-customize.c between version 1.6 and 1.7

version 1.6, 2020/07/27 08:03:10 version 1.7, 2020/09/18 11:20:59
Line 380 
Line 380 
     struct format_tree *ft, const char *filter, struct cmd_find_state *fs)      struct format_tree *ft, const char *filter, struct cmd_find_state *fs)
 {  {
         struct mode_tree_item            *top;          struct mode_tree_item            *top;
         struct options_entry             *o, *loop;          struct options_entry             *o = NULL, *loop;
         const char                      **list = NULL, *name;          const char                      **list = NULL, *name;
         u_int                             size = 0, i;          u_int                             size = 0, i;
         enum window_customize_scope       scope;          enum window_customize_scope       scope;
Line 1018 
Line 1018 
         struct options                          *oo;          struct options                          *oo;
         struct window_customize_itemdata        *new_item;          struct window_customize_itemdata        *new_item;
         int                                      flag, idx = item->idx;          int                                      flag, idx = item->idx;
         enum window_customize_scope              scope;          enum window_customize_scope              scope = WINDOW_CUSTOMIZE_NONE;
         u_int                                    choice;          u_int                                    choice;
         const char                              *name = item->name, *space = "";          const char                              *name = item->name, *space = "";
         char                                    *prompt, *value, *text;          char                                    *prompt, *value, *text;
Line 1031 
Line 1031 
                 return;                  return;
   
         oe = options_table_entry(o);          oe = options_table_entry(o);
         if (~oe->scope & OPTIONS_TABLE_PANE)          if (oe != NULL && ~oe->scope & OPTIONS_TABLE_PANE)
                 pane = 0;                  pane = 0;
         if (oe != NULL && (oe->flags & OPTIONS_TABLE_IS_ARRAY)) {          if (oe != NULL && (oe->flags & OPTIONS_TABLE_IS_ARRAY)) {
                 scope = item->scope;                  scope = item->scope;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7