aboutsummaryrefslogtreecommitdiff
path: root/src/detector.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-17 15:04:14 +0100
committerThomas White <taw@physics.org>2010-02-17 15:04:14 +0100
commitc7c73d91c8eb909ecd2e8911ee2dd051d398412b (patch)
tree5cab7031505bcc95806930e110e45bf1057d94fc /src/detector.c
parentae76664c17533d29555aeef41b7534c78407825f (diff)
Fix obvious mapping bugs
Diffstat (limited to 'src/detector.c')
-rw-r--r--src/detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/detector.c b/src/detector.c
index 94e11a9e..5a7407c9 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -183,6 +183,7 @@ void record_image(struct image *image, int do_water, int do_poisson,
&& (y >= image->det.panels[p].min_y)
&& (y <= image->det.panels[p].max_y) ) {
found = 1;
+ break;
}
}
if ( !found ) {