aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hrs-scaling.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index 690e5779..b26a44f0 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -70,7 +70,7 @@ static double s_uha(signed int hat, signed int kat, signed int lat,
int hi;
struct image *image = &images[k];
- struct cpeak *spots = images->cpeaks;
+ struct cpeak *spots = image->cpeaks;
if ( k != a ) continue;
@@ -110,7 +110,7 @@ static double s_vha(signed int hat, signed int kat, signed int lat,
int hi;
struct image *image = &images[k];
- struct cpeak *spots = images->cpeaks;
+ struct cpeak *spots = image->cpeaks;
if ( k != a ) continue;