mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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;
|
||||
current = startpage;
|
||||
|
||||
if (startpage == 0)
|
||||
return 0;
|
||||
|
||||
do {
|
||||
if (up)
|
||||
tuxtxt_next_dec(¤t);
|
||||
@@ -5499,7 +5502,7 @@ void CreateLine25()
|
||||
showlink(3, next_100);
|
||||
}
|
||||
|
||||
if (//tuxtxt_cache.bttok &&
|
||||
if (tuxtxt_cache.bttok &&
|
||||
screenmode == 1) /* TOP-Info present, divided screen -> create TOP overview */
|
||||
{
|
||||
char line[TOPMENUCHARS];
|
||||
|
Reference in New Issue
Block a user