framebuffer_spark: fix glitch with non-rounded corners

Origin commit data
------------------
Branch: ni/coolstream
Commit: a96dca1547
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-20 (Mon, 20 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-02-20 23:44:19 +01:00
parent 38649ee07c
commit 1e6e29a7e2

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;