projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5194e5
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 13 Feb 2012 17:14:42 +0000
(18:14 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 13 Feb 2012 17:14:42 +0000
(18:14 +0100)
selector.c
patch
|
blob
|
history
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;