diff --git a/src/driver/framebuffer.cpp b/src/driver/framebuffer.cpp index ea141d7f2..465cc3176 100644 --- a/src/driver/framebuffer.cpp +++ b/src/driver/framebuffer.cpp @@ -921,7 +921,7 @@ bool CFrameBuffer::paintIcon8(const std::string & filename, const int x, const i uint8_t * d = ((uint8_t *)getFrameBufferPointer()) + x * sizeof(fb_pixel_t) + stride * y; fb_pixel_t * d2; for (int count=0; count> 1 ); + read(lfd, &pixbuf[0], width >> 1 ); unsigned char *pixpos = &pixbuf[0]; d2 = (fb_pixel_t *) d; for (int count2=0; count2> 1; count2 ++ ) {