use #if HAS_CAIRO!=1 indtead of HAS_CAIRO==0
This commit is contained in:
parent
bb64297b6e
commit
89da7d9ffd
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue