diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 32533c863..3253c53d7 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1389,7 +1389,7 @@ void CMenuWidget::saveScreen() delete[] background; - background = new fb_pixel_t [full_width * full_height]; + background = new fb_pixel_t [full_width * (full_height+fbutton_height)]; if(background) frameBuffer->SaveScreen(x /*-ConnectLineBox_Width*/, y, full_width, full_height + fbutton_height, background); }