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;