projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cosmetics.
[selector.git]
/
selector.c
diff --git
a/selector.c
b/selector.c
index
0cb82ea
..
ddddb11
100644
(file)
--- a/
selector.c
+++ b/
selector.c
@@
-335,8
+335,8
@@
int add_interval(int n, int *switches, int start, int end) {
while(g < n && switches[g] <= end) { g++; }
if(f == n) {
- /* switches[n] start end */
- /* XXXXXXXXXX| */
+ /* switches[n
-1
] start end */
+ /* XXXXXXXXXX
XX
| */
switches[f] = start;
switches[f+1] = end;
return n + 2;