diff options
Diffstat (limited to 'src/plot')
-rw-r--r-- | src/plot/generic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plot/generic.c b/src/plot/generic.c index c328220..429d231 100644 --- a/src/plot/generic.c +++ b/src/plot/generic.c @@ -133,6 +133,8 @@ static bool find_span(const int *p, int n, int x, int y, int *x0, int *x1) bool found_span_start = false; x0_min = x1_min = INT_MIN; + x0c = x1c = 0; + *x0 = *x1 = INT_MAX; /* search row for next span, returning it if one exists */ do { |