From: Francois Fleuret Date: Mon, 18 Nov 2013 16:34:58 +0000 (+0100) Subject: OCD cosmetics. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a8349a6786a7564e565ef1e7df8de71bd717b7d;p=selector.git OCD cosmetics. --- diff --git a/selector.c b/selector.c index afd5ce7..6695bb6 100644 --- 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;