diff options
author | Thomas White <taw@physics.org> | 2020-09-10 14:23:04 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-09-10 14:23:04 +0200 |
commit | 475ab28e2f88a746a8001183af324237c5a5d2e1 (patch) | |
tree | d182552e4029e022649b429ece87c64b2f4fc786 /src/render_hkl.c | |
parent | 4a46022b71ea7caf61802a20ae157ccc0841df18 (diff) |
render_hkl: Move struct resrings out of #ifdef
This causes a compilation failure when Cairo is not available.
Diffstat (limited to 'src/render_hkl.c')
-rw-r--r-- | src/render_hkl.c | 14 |
1 files 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, |