fix boolean operators

This commit is contained in:
Konstantin Käfer
2014-08-04 18:46:43 +02:00
parent 36181b0922
commit 056b4a988c
5 changed files with 8 additions and 8 deletions

View File

@@ -225,7 +225,7 @@ Placement Placement::getGlyphs(Anchor &anchor, const vec2<float> &origin, const
if (!glyph)
continue;
if (!(rect && rect.w > 0 && rect.h > 0))
if (!rect)
continue;
const float x = (origin.x + shape.x + glyph.metrics.left - buffer + rect.w / 2) * boxScale;