aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-30 10:08:10 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:22 +0100
commit3ec5ca8ce9ee0317b2211162c55638e8bf8b0e73 (patch)
tree12a2785894bebce159c3a2910318804ef6bd8eb1
parent1c3c106f4690a45eedc5304e9c7eea6ce95747e3 (diff)
Update definitions for fallbacks in render_hkl.c
-rw-r--r--src/render_hkl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c
index 8ac73a72..9ddfc3a2 100644
--- a/src/render_hkl.c
+++ b/src/render_hkl.c
@@ -508,7 +508,7 @@ static int render_key(int colscale, double scale_top)
#else /* HAVE_CAIRO */
-static int render_key(int colscale)
+static int render_key(int colscale, double scale_top)
{
ERROR("This version of CrystFEL was compiled without Cairo");
ERROR(" support, which is required to draw the colour");
@@ -517,12 +517,11 @@ static int render_key(int colscale)
}
-static void render_za(UnitCell *cell, ReflItemList *items,
- double *ref, unsigned int *counts,
+static void render_za(UnitCell *cell, RefList *list,
double boost, const char *sym, int wght, int colscale,
signed int xh, signed int xk, signed int xl,
signed int yh, signed int yk, signed int yl,
- const char *outfile)
+ const char *outfile, double scale_top)
{
ERROR("This version of CrystFEL was compiled without Cairo");
ERROR(" support, which is required to plot a zone axis");