Revert "Expect numbered monitors to start at 1."
This reverts commit 9471332595
.
This commit is contained in:
parent
51673e22ac
commit
6b8c7ba074
2
bar.c
2
bar.c
|
@ -278,7 +278,7 @@ parse (char *text)
|
||||||
{ cur_mon = montail ? montail : monhead; }
|
{ cur_mon = montail ? montail : monhead; }
|
||||||
else if (isdigit(*p))
|
else if (isdigit(*p))
|
||||||
{ cur_mon = monhead;
|
{ cur_mon = monhead;
|
||||||
for (int i = 1; i != *p-'0' && cur_mon->next; i++)
|
for (int i = 0; i != *p-'0' && cur_mon->next; i++)
|
||||||
cur_mon = cur_mon->next;
|
cur_mon = cur_mon->next;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user