mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 18:38:48 +00:00
Assign flag not number for flag types (we got away with it so far
because that are a union). From Filipe Brandenburger.
This commit is contained in:
parent
dc66795e35
commit
ddb2d1221b
@ -451,7 +451,7 @@ tty_term_find(char *name, int fd, char **cause)
|
|||||||
if (n == -1)
|
if (n == -1)
|
||||||
break;
|
break;
|
||||||
code->type = TTYCODE_FLAG;
|
code->type = TTYCODE_FLAG;
|
||||||
code->value.number = n;
|
code->value.flag = n;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user