projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb044e
)
OCD cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 18 Nov 2013 16:34:58 +0000
(17:34 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 18 Nov 2013 16:34:58 +0000
(17:34 +0100)
selector.c
patch
|
blob
|
history
diff --git
a/selector.c
b/selector.c
index
afd5ce7
..
6695bb6
100644
(file)
--- a/
selector.c
+++ b/
selector.c
@@
-339,7
+339,7
@@
int add_interval(int n, int *switches, int start, int end) {
while(g < n && switches[g] <= end) { g++; }
if(f == n) {
- /* switches[
n
-1] start end */
+ /* switches[
f
-1] start end */
/* XXXXXXXXXXXX| */
switches[f] = start;
switches[f+1] = end;