framebuffer_spark: fix glitch with non-rounded corners

This commit is contained in:
Stefan Seyfried
2012-02-20 23:44:19 +01:00
parent 1a61b68644
commit a96dca1547

View File

@@ -523,7 +523,7 @@ void CFrameBuffer::paintBoxRel(const int _x, const int _y, const int _dx, const
int line = 0; int line = 0;
if (! (type || radius)) if (! (type && radius))
{ {
blitRect(x, y + line, dx, dy - line, col); blitRect(x, y + line, dx, dy - line, col);
return; return;