aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <j.w.r.degoede@hhs.nl>2008-06-13 07:39:05 +0000
committerEric Wong <normalperson@yhbt.net>2008-06-13 07:39:05 +0000
commit4f247ca4da866f4e957dada17a2fa5f632fa9f25 (patch)
tree4b790f5b054c8cb94009e6f2d9f6328e4d117a80
parent29df78fe1e73157a9948f7e05d04beb97143a69d (diff)
downloadmpd-4f247ca4da866f4e957dada17a2fa5f632fa9f25.tar.gz
mpd-4f247ca4da866f4e957dada17a2fa5f632fa9f25.tar.xz
mpd-4f247ca4da866f4e957dada17a2fa5f632fa9f25.zip
mod: fix crashing on modtracker files
This patch was taken from http://bugzilla.livna.org/show_bug.cgi?id=1987 and addresses bug 0001693[1] [1] - http://musicpd.org/mantis/view.php?id=1693 git-svn-id: https://svn.musicpd.org/mpd/trunk@7374 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/mod_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/mod_plugin.c b/src/inputPlugins/mod_plugin.c
index 4b79a3672..23b16fa23 100644
--- a/src/inputPlugins/mod_plugin.c
+++ b/src/inputPlugins/mod_plugin.c
@@ -60,7 +60,7 @@ static MDRIVER drv_mpd = {
255,
#if (LIBMIKMOD_VERSION > 0x030106)
"mpd", /* Alias */
-#if (LIBMIKMOD_VERSION > 0x030200)
+#if (LIBMIKMOD_VERSION >= 0x030200)
NULL, /* CmdLineHelp */
#endif
NULL, /* CommandLine */