Permalink
Browse files

don't hide everything in osd-files from older vdr

  • Loading branch information...
1 parent 436919f commit b97dd0452f4eaaa95045d23f04e3a760652e7378 @flensrocker committed Mar 12, 2012
Showing with 2 additions and 8 deletions.
  1. +2 −4 osd.c
  2. +0 −4 osd.h
View
6 osd.c
@@ -1,7 +1,5 @@
#include "osd.h"
-#if VDRVERSNUM >= 10717
-
#include "common.h"
#include "helper.h"
#include "monitor.h"
@@ -49,6 +47,7 @@ void cDBusOsd::Flush(void)
bool write = false;
*/
+#if VDRVERSNUM >= 10717
if (IsTrueColor()) {
LOCK_PIXMAPS;
int left = Left();
@@ -82,6 +81,7 @@ void cDBusOsd::Flush(void)
delete pm;
}
}
+#endif
/*
if (write) {
gettimeofday(&end, &timeZone);
@@ -292,5 +292,3 @@ bool cDBusDispatcherOsd::OnIntrospect(DBusMessage *msg, cString &Data)
"</node>\n";
return true;
}
-
-#endif
View
4 osd.h
@@ -1,8 +1,6 @@
#ifndef __DBUS2VDR_OSD_H
#define __DBUS2VDR_OSD_H
-#if VDRVERSNUM >= 10717
-
#include "message.h"
#include <vdr/osd.h>
@@ -138,5 +136,3 @@ class cDBusDispatcherOsd : public cDBusMessageDispatcher
};
#endif
-
-#endif

0 comments on commit b97dd04

Please sign in to comment.