diff options
author | Thomas White <taw@physics.org> | 2010-01-06 16:45:37 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-01-06 16:45:37 +0100 |
commit | 091685f97b125556ab41a921659c8e5bc5af4845 (patch) | |
tree | 1ead26a892dc37f7d89c43bc4afb208b4167d438 /src/process_images.c | |
parent | a9adb8fc595b232524fad7101d3c17af6347d959 (diff) |
Fix orientation of images
Diffstat (limited to 'src/process_images.c')
-rw-r--r-- | src/process_images.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_images.c b/src/process_images.c index 90f51528..6695db2b 100644 --- a/src/process_images.c +++ b/src/process_images.c @@ -50,7 +50,7 @@ static int sum_of_peaks(struct image *image) int val; - val = image->data[y+image->height*(image->width-1-x)]; + val = image->data[x+image->height*y]; if ( val > 1000 ) integr+=val; |