aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-02-20 03:11:29 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:15 +0100
commit941556dbe66c7f13f0659ebdc139344193eb3e7c (patch)
tree12ddd2a8b252bbfda158930f89042789cc0b6523 /src/peaks.c
parentc52293a3634d447893c081cd1074a2cef293449d (diff)
s/min_x/min_fs/ and so on
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 99c82323..d158f064 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -95,10 +95,10 @@ static int cull_peaks_in_panel(struct image *image, struct panel *p)
f = image_get_feature(image->features, i);
if ( f == NULL ) continue;
- if ( f->x < p->min_x ) continue;
- if ( f->x > p->max_x ) continue;
- if ( f->y < p->min_y ) continue;
- if ( f->y > p->max_y ) continue;
+ if ( f->x < p->min_fs ) continue;
+ if ( f->x > p->max_fs ) continue;
+ if ( f->y < p->min_ss ) continue;
+ if ( f->y > p->max_ss ) continue;
/* How many peaks are in the same column? */
ncol = 0;