framebuffer_spark: fix glitch with non-rounded corners

Origin commit data
------------------
Commit: a96dca1547
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-20 (Mon, 20 Feb 2012)
This commit is contained in:
Stefan Seyfried
2012-02-20 23:44:19 +01:00
parent 89afc97ed9
commit aef3c7246b

View File

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