aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-25 21:11:23 +0100
committerMax Kellermann <max@duempel.org>2008-11-25 21:11:23 +0100
commita992f12521da4f9024f8022ea6b8aa3794ea5a99 (patch)
treeb55567c86e780a597e8633aa150510d006639806 /src/support.c
parente8e36c5003ebaf4b4057916eeecc8e90d1435c90 (diff)
downloadmpd-a992f12521da4f9024f8022ea6b8aa3794ea5a99.tar.gz
mpd-a992f12521da4f9024f8022ea6b8aa3794ea5a99.tar.xz
mpd-a992f12521da4f9024f8022ea6b8aa3794ea5a99.zip
ncmpc-mini: disable scrolling
The scrolling code broke in the ncmpc-mini build. Disable it when --enable-mini was specified.
Diffstat (limited to 'src/support.c')
-rw-r--r--src/support.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/support.c b/src/support.c
index 8d9d0d010..68dc55887 100644
--- a/src/support.c
+++ b/src/support.c
@@ -43,6 +43,8 @@ strcasestr(const char *haystack, const char *needle)
}
#endif /* HAVE_STRCASESTR */
+#ifndef NCMPC_MINI
+
// FIXME: utf-8 length
char *
strscroll(char *str, char *separator, int width, scroll_state_t *st)
@@ -90,3 +92,5 @@ strscroll(char *str, char *separator, int width, scroll_state_t *st)
g_free(tmp);
return buf;
}
+
+#endif