mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e7abca08e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-09-12 (Sun, 12 Sep 2010)
------------------
This commit was generated by Migit
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