From a992f12521da4f9024f8022ea6b8aa3794ea5a99 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 25 Nov 2008 21:11:23 +0100 Subject: ncmpc-mini: disable scrolling The scrolling code broke in the ncmpc-mini build. Disable it when --enable-mini was specified. --- src/support.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/support.c') 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 -- cgit v1.2.3