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

Diff for /src/usr.bin/tmux/status.c between version 1.194 and 1.195

version 1.194, 2019/04/23 20:40:03 version 1.195, 2019/04/25 19:36:59
Line 1293 
Line 1293 
         size_t                                    slen = strlen(s), valuelen;          size_t                                    slen = strlen(s), valuelen;
         struct options_entry                     *o;          struct options_entry                     *o;
         struct options_array_item                *a;          struct options_array_item                *a;
         union options_value                      *ov;  
         const char                               *layouts[] = {          const char                               *layouts[] = {
                 "even-horizontal", "even-vertical", "main-horizontal",                  "even-horizontal", "even-vertical", "main-horizontal",
                 "main-vertical", "tiled", NULL                  "main-vertical", "tiled", NULL
Line 1322 
Line 1321 
         if (o != NULL) {          if (o != NULL) {
                 a = options_array_first(o);                  a = options_array_first(o);
                 while (a != NULL) {                  while (a != NULL) {
                         ov = options_array_item_value(a);                          value = options_array_item_value(a)->string;
                         if (ov == NULL)  
                                 goto next;  
   
                         value = ov->string;  
                         if ((cp = strchr(value, '=')) == NULL)                          if ((cp = strchr(value, '=')) == NULL)
                             goto next;                              goto next;
                         valuelen = cp - value;                          valuelen = cp - value;

Legend:
Removed from v.1.194  
changed lines
  Added in v.1.195