- libtuxtxt: some more whitespace cleanups

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-01-25 13:30:14 +01:00
committed by Thilo Graf
parent 926274c8ba
commit 688f5f25ba

View File

@@ -8,8 +8,8 @@
* *
* ported 2006 to Dreambox 7025 / 32Bit framebuffer *
* by Seddi <seddi@i-have-a-dreambox.com> *
* *
* ported 2009 to HD1 by Coolstream LTD *
* *
* ported 2009 to HD1 by Coolstream LTD *
* *
* TD, SPARK and AZbox port (C) 2010-2013 Stefan Seyfried *
* *
@@ -2262,7 +2262,7 @@ void CleanUp()
tuxtxt_stop_thread();
tuxtxt_clear_cache();
if (tuxtxt_cache.dmx != -1)
close(tuxtxt_cache.dmx);
close(tuxtxt_cache.dmx);
tuxtxt_cache.dmx = -1;
#else
//tuxtxt_stop();
@@ -3376,7 +3376,7 @@ void ConfigMenu(int Init)
auto_national &= 1;
if (auto_national)
{
if (getpidsdone)
if (getpidsdone)
national_subset = pid_table[current_pid].national_subset;
else
{
@@ -4985,14 +4985,14 @@ void RenderMessage(int Message)
/* 01234567890123456789012345678901234567890 */
char message_1[] = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> www.tuxtxt.com x.xx <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
char message_2[] = "<EFBFBD> <20><>";
/* char message_3[] = "<22> suche nach Teletext-Anbietern <20><>"; */
/* char message_3[] = "<22> suche nach Teletext-Anbietern <20><>"; */
char message_4[] = "<EFBFBD> <20><>";
char message_5[] = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
char message_6[] = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
/* char message_7[] = "<22> kein Teletext auf dem Transponder <20><>"; */
/* char message_8[] = "<22> warte auf Empfang von Seite 100 <20><>"; */
/* char message_9[] = "<22> Seite 100 existiert nicht! <20><>"; */
/* char message_7[] = "<22> kein Teletext auf dem Transponder <20><>"; */
/* char message_8[] = "<22> warte auf Empfang von Seite 100 <20><>"; */
/* char message_9[] = "<22> Seite 100 existiert nicht! <20><>"; */
memmove(&message_1[24], versioninfo, 4);
/* reset zoom */
@@ -5197,10 +5197,10 @@ void RenderPage()
if (transpmode[boxed] != 2 && delaystarted)
{
struct timeval tv;
gettimeofday(&tv,NULL);
if (tv.tv_sec - tv_delay.tv_sec < subtitledelay)
return;
struct timeval tv;
gettimeofday(&tv,NULL);
if (tv.tv_sec - tv_delay.tv_sec < subtitledelay)
return;
}
/* update page or timestring */
@@ -5233,7 +5233,7 @@ void RenderPage()
oldboxed = boxed;
}
/* display first column? */
/* display first column? */
nofirst = show39;
for (row = 1; row < 24; row++)
{