X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fchannelinfo.C;h=42a3d883eebcb10820992096029bd6e159a228fd;hb=9f344ea7acc2f3e077a4f736e2f99eaeff81d66b;hp=71469330cad7367b779e797064a7bbdc4c5df90f;hpb=3ec3a9cc6afc6561311686b3ec597ee3c1d80d6f;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/channelinfo.C b/cinelerra-5.1/cinelerra/channelinfo.C index 71469330..42a3d883 100644 --- a/cinelerra-5.1/cinelerra/channelinfo.C +++ b/cinelerra-5.1/cinelerra/channelinfo.C @@ -1,3 +1,5 @@ +#ifdef HAVE_DVB + #include "asset.h" #include "batch.h" #include "bctimer.h" @@ -140,7 +142,7 @@ int ChanSearchMatchCase::handle_event() ChanSearchText::ChanSearchText(ChanSearchGUI *gui, int x, int y, int w) - : BC_TextBox(x, y, w, 1, "") + : BC_TextBox(x, y, w, 1, "") { this->gui = gui; } @@ -344,7 +346,7 @@ ChanSearchGUI::ChanSearchGUI(ChanSearch *cswindow) ChanSearchGUI::~ChanSearchGUI() { - + ChannelEvent *item = highlighted_event; if( item ) { panel->lock_window("ChanSearchGUI::~ChanSearchGUI"); @@ -957,7 +959,7 @@ void ChannelPanel::get_xtime(int x, char *cp) struct tm xtm; localtime_r(&xt,&xtm); cp += sprintf(cp,"%02d:%02d",xtm.tm_hour, xtm.tm_min); if( !xtm.tm_hour && !xtm.tm_min ) { - sprintf(cp,_("(%3.3s) "),&_("sunmontuewedthufrisat")[xtm.tm_wday*3]); + sprintf(cp,"(%3.3s) ",&_("sunmontuewedthufrisat")[xtm.tm_wday*3]); } } @@ -1036,7 +1038,6 @@ int ChannelInfoFind::handle_event() return 1; } - void ChannelThread::start() { if( !Thread::running() ) { @@ -1060,7 +1061,7 @@ ChannelThread::ChannelThread(ChannelInfoGUI *gui) this->gui = gui; this->iwindow = gui->iwindow; this->panel = gui->panel; - + fd = 0; done = 0; } @@ -1946,4 +1947,5 @@ int ChannelDeleteBatch::handle_event() return RecordBatchesGUI::DeleteBatch::handle_event(); } +#endif