From fb2cae0c3cfecad876f0d53abc08e22e6f3fde57 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 6 Jun 2016 12:04:20 +0100 Subject: Fix problem with FZ_PLOTTER_G only builds. In C we can't have a label as the only thing in a block. --- source/fitz/draw-paint.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/fitz/draw-paint.c') diff --git a/source/fitz/draw-paint.c b/source/fitz/draw-paint.c index d004a289..68fc4c7a 100644 --- a/source/fitz/draw-paint.c +++ b/source/fitz/draw-paint.c @@ -1341,7 +1341,7 @@ fz_get_span_mask_painter(int da, int sa, int n) default: { #if !FZ_PLOTTERS_G -fallback: +fallback:{} #endif /* !FZ_PLOTTERS_G */ #if FZ_PLOTTERS_N if (da) @@ -2020,7 +2020,7 @@ fz_get_span_painter(int da, int sa, int n, int alpha) default: { #if !FZ_PLOTTERS_G -fallback: +fallback:{} #endif /* FZ_PLOTTERS_G */ #if FZ_PLOTTERS_N if (da) @@ -2427,7 +2427,7 @@ fz_paint_glyph_alpha(const unsigned char * restrict colorbv, int n, int span, un default: { #if !FZ_PLOTTERS_G -fallback: +fallback:{} #endif /* !FZ_PLOTTERS_G */ #if FZ_PLOTTERS_N if (da) @@ -2474,7 +2474,7 @@ fz_paint_glyph_solid(const unsigned char * restrict colorbv, int n, int span, un default: { #if !FZ_PLOTTERS_G -fallback: +fallback:{} #endif /* FZ_PLOTTERS_G */ #if FZ_PLOTTERS_N if (da) -- cgit v1.2.3