aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/integration.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 5e5ddd98..4d9a1219 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -312,9 +312,9 @@ static void colour_off(enum boxmask_val b)
#endif
+#ifdef HAVE_CURSES_COLOR
static void show_reference_profile(struct intcontext *ic, int i)
{
-#ifdef HAVE_CURSES_COLOR
int q;
printw("Reference profile number %i (%i contributions):\n", i,
@@ -334,8 +334,8 @@ static void show_reference_profile(struct intcontext *ic, int i)
printw("\n");
}
-#endif
}
+#endif
static void show_peak_box(struct intcontext *ic, struct peak_box *bx,