diff options
-rw-r--r-- | firmware/drivers/lcd-16bit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c index 9dd5beb860..6d6a3b2104 100644 --- a/firmware/drivers/lcd-16bit.c +++ b/firmware/drivers/lcd-16bit.c @@ -907,9 +907,8 @@ void ICODE_ATTR lcd_bitmap_transparent_part(const fb_data *src, int src_x, if (data != TRANSPARENT_COLOR) { if (data == REPLACEWITHFG_COLOR) - *dst_row = fg; - else - *dst_row = data; + data = fg; + *dst_row = data; } } while (++dst_row < row_end); |