From 475ab28e2f88a746a8001183af324237c5a5d2e1 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 10 Sep 2020 14:23:04 +0200 Subject: render_hkl: Move struct resrings out of #ifdef This causes a compilation failure when Cairo is not available. --- src/render_hkl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/render_hkl.c b/src/render_hkl.c index 3f539cb2..78bef1ef 100644 --- a/src/render_hkl.c +++ b/src/render_hkl.c @@ -56,6 +56,13 @@ #include "version.h" +struct resrings +{ + double res[100]; + int n_rings; +}; + + #define KEY_FILENAME "key.pdf" @@ -401,13 +408,6 @@ static void render_overlined_indices(cairo_t *dctx, } -struct resrings -{ - double res[100]; - int n_rings; -}; - - static void render_za(UnitCell *cell, RefList *list, double boost, const SymOpList *sym, int wght, int colscale, -- cgit v1.2.3