mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 02:18:53 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
181841fb67
@ -361,7 +361,7 @@ options_array_set(struct options_entry *o, u_int idx, const char *value,
|
|||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OPTIONS_IS_COMMAND(o)) {
|
if (OPTIONS_IS_COMMAND(o) && value != NULL) {
|
||||||
pr = cmd_parse_from_string(value, NULL);
|
pr = cmd_parse_from_string(value, NULL);
|
||||||
switch (pr->status) {
|
switch (pr->status) {
|
||||||
case CMD_PARSE_EMPTY:
|
case CMD_PARSE_EMPTY:
|
||||||
|
Loading…
Reference in New Issue
Block a user