improve resize flash operation, fixup xv grab/ungrab, fixup label updates
[goodguy/history.git] / cinelerra-5.1 / cinelerra / channelinfo.C
index 71469330cad7367b779e797064a7bbdc4c5df90f..7bcac18863e4bf243dbd0d672b8726e43f8a4fdb 100644 (file)
@@ -1,3 +1,5 @@
+#ifdef HAVE_DVB
+
 #include "asset.h"
 #include "batch.h"
 #include "bctimer.h"
@@ -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() ) {
@@ -1946,4 +1947,5 @@ int ChannelDeleteBatch::handle_event()
        return RecordBatchesGUI::DeleteBatch::handle_event();
 }
 
+#endif