aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-04 18:15:24 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:17 +0100
commit921af3b71563326454f5cd98997a43fd5831c0a8 (patch)
treef0647931bde7ad1f75ce5bae963d71ff4a350234
parent0ccec37b8c836c1409b4b282cf3bc6febefe3021 (diff)
Fix simulation progress bar
-rw-r--r--src/diffraction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index 8bf3b0c1..a7cf90c7 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -395,6 +395,6 @@ void get_diffraction(struct image *image, int na, int nb, int nc,
}
- progress_bar(fs, SAMPLING*image->width-1, "Calculating diffraction");
+ progress_bar(fs, image->width-1, "Calculating diffraction");
}
}