aboutsummaryrefslogtreecommitdiff
path: root/src/render_hkl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/render_hkl.c')
-rw-r--r--src/render_hkl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c
index 94d6202a..c47a2c4d 100644
--- a/src/render_hkl.c
+++ b/src/render_hkl.c
@@ -421,7 +421,6 @@ static void render_za(UnitCell *cell, RefList *list,
double max_val;
double scale1, scale2, scale;
double sep_u, sep_v, max_r;
- double u, v;
double as, bs, theta;
double asx, asy, asz;
double bsx, bsy, bsz;
@@ -562,6 +561,8 @@ static void render_za(UnitCell *cell, RefList *list,
if ( !noaxes ) {
+ double u, v;
+
/* Centre marker */
cairo_arc(dctx, (double)cx,
(double)cy, max_r, 0, 2*M_PI);