mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
tuxtxt: fix crash on double height / PIP
on coolstream, it did not crash, but the TOP sidebar was broken with PIP/double height. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@759 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -5576,12 +5576,13 @@ void CopyBB2FB()
|
||||
unsigned char *topdst = dst;
|
||||
|
||||
screenwidth = ( TV43STARTX ) * 4;
|
||||
size_t width = ex * sizeof(fb_pixel_t) - screenwidth;
|
||||
|
||||
topsrc += screenwidth;
|
||||
topdst += screenwidth;
|
||||
for (i=0; i < 24*fontheight; i++)
|
||||
{
|
||||
memcpy(topdst, topsrc,ex-screenwidth);
|
||||
memcpy(topdst, topsrc, width);
|
||||
topdst += fix_screeninfo.line_length;
|
||||
topsrc += fix_screeninfo.line_length;
|
||||
}
|
||||
|
Reference in New Issue
Block a user