mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
- libtuxtxt: some more whitespace cleanups
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
* *
|
* *
|
||||||
* ported 2006 to Dreambox 7025 / 32Bit framebuffer *
|
* ported 2006 to Dreambox 7025 / 32Bit framebuffer *
|
||||||
* by Seddi <seddi@i-have-a-dreambox.com> *
|
* 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 *
|
* TD, SPARK and AZbox port (C) 2010-2013 Stefan Seyfried *
|
||||||
* *
|
* *
|
||||||
@@ -2262,7 +2262,7 @@ void CleanUp()
|
|||||||
tuxtxt_stop_thread();
|
tuxtxt_stop_thread();
|
||||||
tuxtxt_clear_cache();
|
tuxtxt_clear_cache();
|
||||||
if (tuxtxt_cache.dmx != -1)
|
if (tuxtxt_cache.dmx != -1)
|
||||||
close(tuxtxt_cache.dmx);
|
close(tuxtxt_cache.dmx);
|
||||||
tuxtxt_cache.dmx = -1;
|
tuxtxt_cache.dmx = -1;
|
||||||
#else
|
#else
|
||||||
//tuxtxt_stop();
|
//tuxtxt_stop();
|
||||||
@@ -3376,7 +3376,7 @@ void ConfigMenu(int Init)
|
|||||||
auto_national &= 1;
|
auto_national &= 1;
|
||||||
if (auto_national)
|
if (auto_national)
|
||||||
{
|
{
|
||||||
if (getpidsdone)
|
if (getpidsdone)
|
||||||
national_subset = pid_table[current_pid].national_subset;
|
national_subset = pid_table[current_pid].national_subset;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -4985,14 +4985,14 @@ void RenderMessage(int Message)
|
|||||||
/* 01234567890123456789012345678901234567890 */
|
/* 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_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_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_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_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_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_7[] = "<22> kein Teletext auf dem Transponder <20><>"; */
|
||||||
/* char message_8[] = "<22> warte auf Empfang von Seite 100 <20><>"; */
|
/* char message_8[] = "<22> warte auf Empfang von Seite 100 <20><>"; */
|
||||||
/* char message_9[] = "<22> Seite 100 existiert nicht! <20><>"; */
|
/* char message_9[] = "<22> Seite 100 existiert nicht! <20><>"; */
|
||||||
|
|
||||||
memmove(&message_1[24], versioninfo, 4);
|
memmove(&message_1[24], versioninfo, 4);
|
||||||
/* reset zoom */
|
/* reset zoom */
|
||||||
@@ -5197,10 +5197,10 @@ void RenderPage()
|
|||||||
|
|
||||||
if (transpmode[boxed] != 2 && delaystarted)
|
if (transpmode[boxed] != 2 && delaystarted)
|
||||||
{
|
{
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
gettimeofday(&tv,NULL);
|
gettimeofday(&tv,NULL);
|
||||||
if (tv.tv_sec - tv_delay.tv_sec < subtitledelay)
|
if (tv.tv_sec - tv_delay.tv_sec < subtitledelay)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* update page or timestring */
|
/* update page or timestring */
|
||||||
@@ -5233,7 +5233,7 @@ void RenderPage()
|
|||||||
oldboxed = boxed;
|
oldboxed = boxed;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* display first column? */
|
/* display first column? */
|
||||||
nofirst = show39;
|
nofirst = show39;
|
||||||
for (row = 1; row < 24; row++)
|
for (row = 1; row < 24; row++)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user