From f56ce1b9c6d6b5c9b365354585d32c5ead4869d6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 23 Mar 2011 15:23:36 +0100 Subject: More s/x/fs/, s/y/ss/ --- src/detector.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/detector.c') diff --git a/src/detector.c b/src/detector.c index 156cd188..522c4aa5 100644 --- a/src/detector.c +++ b/src/detector.c @@ -265,15 +265,15 @@ void record_image(struct image *image, int do_poisson) } -struct panel *find_panel(struct detector *det, int x, int y) +struct panel *find_panel(struct detector *det, int fs, int ss) { int p; for ( p=0; pn_panels; p++ ) { - if ( (x >= det->panels[p].min_fs) - && (x <= det->panels[p].max_fs) - && (y >= det->panels[p].min_ss) - && (y <= det->panels[p].max_ss) ) { + if ( (fs >= det->panels[p].min_fs) + && (fs <= det->panels[p].max_fs) + && (ss >= det->panels[p].min_ss) + && (ss <= det->panels[p].max_ss) ) { return &det->panels[p]; } } -- cgit v1.2.3