diff --git a/src/draw.c b/src/draw.c index e8b38cf8..49be772d 100644 --- a/src/draw.c +++ b/src/draw.c @@ -611,7 +611,7 @@ void draw_symbol(int what,int c, int n,int layer,short tmp_flip, short rot, (text.rot + ( (flip && (text.rot & 1) ) ? rot+2 : rot) ) & 0x3, flip^text.flip, text.hcenter, text.vcenter, x0+x1, y0+y1, text.xscale, text.yscale); - #if HAS_CAIRO==0 + #if HAS_CAIRO!=1 drawrect(textlayer, END, 0.0, 0.0, 0.0, 0.0, 0); drawline(textlayer, END, 0.0, 0.0, 0.0, 0.0, 0); #endif @@ -1754,7 +1754,7 @@ void draw(void) cairo_restore(xctx->cairo_save_ctx); } #endif - #if HAS_CAIRO==0 + #if HAS_CAIRO!=1 drawrect(textlayer, END, 0.0, 0.0, 0.0, 0.0, 0); drawline(textlayer, END, 0.0, 0.0, 0.0, 0.0, 0); #endif diff --git a/src/move.c b/src/move.c index 6fa159be..144e5a34 100644 --- a/src/move.c +++ b/src/move.c @@ -861,7 +861,7 @@ void copy_objects(int what) xctx->text[xctx->texts].hcenter, xctx->text[xctx->texts].vcenter, xctx->rx1+xctx->deltax,xctx->ry1+xctx->deltay, xctx->text[xctx->texts].xscale, xctx->text[xctx->texts].yscale); - #if HAS_CAIRO==0 + #if HAS_CAIRO!=1 drawrect(textlayer, END, 0.0, 0.0, 0.0, 0.0, 0); drawline(textlayer, END, 0.0, 0.0, 0.0, 0.0, 0); #endif @@ -1407,7 +1407,7 @@ void move_objects(int what, int merge, double dx, double dy) xctx->text[n].rot, xctx->text[n].flip, xctx->text[n].hcenter, xctx->text[n].vcenter, xctx->text[n].x0, xctx->text[n].y0, xctx->text[n].xscale, xctx->text[n].yscale); - #if HAS_CAIRO==0 + #if HAS_CAIRO==0!=1 drawrect(textlayer, END, 0.0, 0.0, 0.0, 0.0, 0); drawline(textlayer, END, 0.0, 0.0, 0.0, 0.0, 0); #endif