mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
Backport fix from tuxbox cvs.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1373 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 7a4c1af962
Author: nightshad <nightshad@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2011-04-02 (Sat, 02 Apr 2011)
This commit is contained in:
@@ -5839,14 +5839,12 @@ void DecodePage()
|
||||
/* copy page to decode buffer */
|
||||
if (tuxtxt_cache.subpagetable[tuxtxt_cache.page] == 0xff) /* not cached: do nothing */
|
||||
return;
|
||||
if (tuxtxt_cache.zap_subpage_manual)
|
||||
pCachedPage = tuxtxt_cache.astCachetable[tuxtxt_cache.page][tuxtxt_cache.subpage];
|
||||
else
|
||||
pCachedPage = tuxtxt_cache.astCachetable[tuxtxt_cache.page][tuxtxt_cache.subpagetable[tuxtxt_cache.page]];
|
||||
int tmp_subpage = tuxtxt_cache.zap_subpage_manual ? tuxtxt_cache.subpage : tuxtxt_cache.subpagetable[tuxtxt_cache.page];
|
||||
pCachedPage = tuxtxt_cache.astCachetable[tuxtxt_cache.page][tmp_subpage];
|
||||
if (!pCachedPage) /* not cached: do nothing */
|
||||
return;
|
||||
|
||||
tuxtxt_decompress_page(tuxtxt_cache.page,tuxtxt_cache.subpage,&page_char[40]);
|
||||
tuxtxt_decompress_page(tuxtxt_cache.page,tmp_subpage,&page_char[40]);
|
||||
|
||||
memmove(&page_char[8], pCachedPage->p0, 24); /* header line without timestring */
|
||||
|
||||
|
Reference in New Issue
Block a user