mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Do not reset idx, it has just been set.
This commit is contained in:
parent
373541104b
commit
649c0d8e91
@ -403,7 +403,6 @@ options_match(const char *s, int *idx, int* ambiguous)
|
|||||||
name = options_parse(s, idx);
|
name = options_parse(s, idx);
|
||||||
namelen = strlen(name);
|
namelen = strlen(name);
|
||||||
|
|
||||||
*idx = -1;
|
|
||||||
if (*name == '@') {
|
if (*name == '@') {
|
||||||
*ambiguous = 0;
|
*ambiguous = 0;
|
||||||
return (xstrdup(name));
|
return (xstrdup(name));
|
||||||
|
Loading…
Reference in New Issue
Block a user