From 4f247ca4da866f4e957dada17a2fa5f632fa9f25 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 13 Jun 2008 07:39:05 +0000 Subject: 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 --- src/inputPlugins/mod_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3