CMenuWidget::saveScreen: Fix segfault

This commit is contained in:
M. Liebmann
2016-10-26 13:46:04 +02:00
parent a132969547
commit a3e0a0e917

View File

@@ -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);
}