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

Diff for /src/usr.bin/tmux/options.c between version 1.13 and 1.14

version 1.13, 2015/10/27 15:58:42 version 1.14, 2015/11/13 16:06:43
Line 150 
Line 150 
         struct options_entry    *o;          struct options_entry    *o;
   
         if ((o = options_find(oo, name)) == NULL)          if ((o = options_find(oo, name)) == NULL)
                 fatalx("missing option");                  log_fatalx("missing option %s", name);
         if (o->type != OPTIONS_STRING)          if (o->type != OPTIONS_STRING)
                 fatalx("option not a string");                  log_fatalx("option %s not a string", name);
         return (o->str);          return (o->str);
 }  }
   
Line 180 
Line 180 
         struct options_entry    *o;          struct options_entry    *o;
   
         if ((o = options_find(oo, name)) == NULL)          if ((o = options_find(oo, name)) == NULL)
                 fatalx("missing option");                  log_fatalx("missing option %s", name);
         if (o->type != OPTIONS_NUMBER)          if (o->type != OPTIONS_NUMBER)
                 fatalx("option not a number");                  log_fatalx("option %s not a number", name);
         return (o->num);          return (o->num);
 }  }
   
Line 220 
Line 220 
         struct options_entry    *o;          struct options_entry    *o;
   
         if ((o = options_find(oo, name)) == NULL)          if ((o = options_find(oo, name)) == NULL)
                 fatalx("missing option");                  log_fatalx("missing option %s", name);
         if (o->type != OPTIONS_STYLE)          if (o->type != OPTIONS_STYLE)
                 fatalx("option not a style");                  log_fatalx("option %s not a style", name);
         return (&o->style);          return (&o->style);
 }  }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14