Fix Graphics::fillAreaBetweenRects()

This commit is contained in:
David Capello 2014-04-29 23:07:25 -03:00
parent be13633d44
commit 6edf02765a

View File

@ -115,7 +115,7 @@ void Graphics::fillAreaBetweenRects(ui::Color color,
const gfx::Rect& outer, const gfx::Rect& inner)
{
if (!outer.intersects(inner))
fillRect(color, inner);
fillRect(color, outer);
else {
gfx::Region rgn(outer);
rgn.createSubtraction(rgn, gfx::Region(inner));