mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CMenuWidget::saveScreen: Fix segfault
Origin commit data
------------------
Branch: ni/coolstream
Commit: a3e0a0e917
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-10-26 (Wed, 26 Oct 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user