summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2008-03-19 01:38:58 +0100
committerThomas Günther <tom@toms-cafe.de>2008-03-19 01:38:58 +0100
commit50fb849cb420d9342fad191753bd472beddffca7 (patch)
tree65e8ed4182f2e61560a4a6cc341c6d0602dc0816
parent1a2247ccdfaba348b80fb2482c27e71b7cb17b92 (diff)
downloadvdr-plugin-sudoku-50fb849cb420d9342fad191753bd472beddffca7.tar.gz
vdr-plugin-sudoku-50fb849cb420d9342fad191753bd472beddffca7.tar.bz2
Compatibility to VDR < 1.5.11
-rw-r--r--list.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/list.cpp b/list.cpp
index e282cff..37e6a71 100644
--- a/list.cpp
+++ b/list.cpp
@@ -17,7 +17,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
- * $Id: list.cpp 114 2008-03-16 22:20:33Z tom $
+ * $Id: list.cpp 115 2008-03-19 00:38:58Z tom $
*/
#include "list.h"
@@ -28,6 +28,12 @@
#include <vdr/menuitems.h>
#include <assert.h>
+// Compatibility to older vdr versions
+#if VDRVERSNUM < 10511
+ #define cMenuEditStrItem(n, v, l) cMenuEditStrItem((n), (v), (l),\
+ trVDR(FileNameChars))
+#endif
+
using namespace SudokuPlugin;