From 2c0e4df2eb1467b1f73704c64c607508800737cd Mon Sep 17 00:00:00 2001 From: 3djc Date: Sat, 17 Oct 2020 10:13:39 +0200 Subject: [PATCH] Cosmetics --- radio/src/thirdparty/libopenui/src/bitmapbuffer.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/radio/src/thirdparty/libopenui/src/bitmapbuffer.cpp b/radio/src/thirdparty/libopenui/src/bitmapbuffer.cpp index 09a0af32b..dd86e51c8 100755 --- a/radio/src/thirdparty/libopenui/src/bitmapbuffer.cpp +++ b/radio/src/thirdparty/libopenui/src/bitmapbuffer.cpp @@ -126,13 +126,12 @@ void BitmapBuffer::drawVerticalLine(coord_t x, coord_t y, coord_t h, uint8_t pat } } -void BitmapBuffer::drawLine(coord_t x1, coord_t y1, coord_t x2, coord_t y2, uint8_t pat, LcdFlags att) -{ +void BitmapBuffer::drawLine(coord_t x1, coord_t y1, coord_t x2, coord_t y2, uint8_t pat, LcdFlags att) { // Offsets - x1 += this->offsetX; - y1 += this->offsetY; - x2 += this->offsetX; - y2 += this->offsetY; + x1 += offsetX; + y1 += offsetY; + x2 += offsetX; + y2 += offsetY; pixel_t color = lcdColorTable[COLOR_IDX(att)];