From 5f6df6ed91c745f06cdaec8983a7b1485994da39 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Mon, 13 Feb 2012 18:14:42 +0100 Subject: [PATCH] Cosmetics. --- selector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selector.c b/selector.c index 0cb82ea..ddddb11 100644 --- 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 */ + /* XXXXXXXXXXXX| */ switches[f] = start; switches[f+1] = end; return n + 2; -- 2.20.1