From a96dca154754747dd7ebe77324836fa6d3e29681 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 20 Feb 2012 23:44:19 +0100 Subject: [PATCH] framebuffer_spark: fix glitch with non-rounded corners --- src/driver/framebuffer_spark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/framebuffer_spark.cpp b/src/driver/framebuffer_spark.cpp index 31fd5ef95..f968d8798 100644 --- a/src/driver/framebuffer_spark.cpp +++ b/src/driver/framebuffer_spark.cpp @@ -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;