summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--muggle.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2871744..4c1dd4e 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ HAVE_MYSQL = 1
### The version number of this plugin (taken from the main source file):
-VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g')
+VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g')
### The C++ compiler and options:
diff --git a/muggle.c b/muggle.c
index d40ad24..faa3174 100644
--- a/muggle.c
+++ b/muggle.c
@@ -21,9 +21,9 @@
#include <getopt.h>
#include <config.h>
-static const char *VERSION = "0.1.10";
-static const char *DESCRIPTION = "Media juggle plugin for VDR";
-static const char *MAINMENUENTRY = "Muggle";
+static const char VERSION[] = "0.1.10";
+static const char DESCRIPTION[] = "Media juggle plugin for VDR";
+static const char MAINMENUENTRY[] = "Muggle";
const char *
mgMuggle::Version (void)