mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
tuxtxt: avoid spurious deadlocks on startup
Origin commit data
------------------
Commit: ad7c88379a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-07-15 (Sun, 15 Jul 2012)
This commit is contained in:
@@ -200,6 +200,9 @@ int toptext_getnext(int startpage, int up, int findgroup)
|
|||||||
nextgrp = nextblk = 0;
|
nextgrp = nextblk = 0;
|
||||||
current = startpage;
|
current = startpage;
|
||||||
|
|
||||||
|
if (startpage == 0)
|
||||||
|
return 0;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (up)
|
if (up)
|
||||||
tuxtxt_next_dec(¤t);
|
tuxtxt_next_dec(¤t);
|
||||||
@@ -5499,7 +5502,7 @@ void CreateLine25()
|
|||||||
showlink(3, next_100);
|
showlink(3, next_100);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (//tuxtxt_cache.bttok &&
|
if (tuxtxt_cache.bttok &&
|
||||||
screenmode == 1) /* TOP-Info present, divided screen -> create TOP overview */
|
screenmode == 1) /* TOP-Info present, divided screen -> create TOP overview */
|
||||||
{
|
{
|
||||||
char line[TOPMENUCHARS];
|
char line[TOPMENUCHARS];
|
||||||
|
Reference in New Issue
Block a user