aboutsummaryrefslogtreecommitdiffstats
path: root/src/hscroll.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-10 19:55:37 +0100
committerMax Kellermann <max@duempel.org>2008-12-10 19:55:37 +0100
commitde82a840d22c418351036c09a7fb466d1ffb4efd (patch)
tree30f9427206a123dd4e5b5e0084e52a536c877407 /src/hscroll.c
parentaf8b511c67840ce2baa18c5cfe3abff9639c5ed1 (diff)
downloadmpd-de82a840d22c418351036c09a7fb466d1ffb4efd.tar.gz
mpd-de82a840d22c418351036c09a7fb466d1ffb4efd.tar.xz
mpd-de82a840d22c418351036c09a7fb466d1ffb4efd.zip
hscroll: don't compile source in ncmpc-mini mode
This source is not required with --enable-mini.
Diffstat (limited to 'src/hscroll.c')
-rw-r--r--src/hscroll.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hscroll.c b/src/hscroll.c
index 2915a112c..d3e47d8e1 100644
--- a/src/hscroll.c
+++ b/src/hscroll.c
@@ -18,14 +18,11 @@
#include "hscroll.h"
#include "charset.h"
-#include "config.h"
#include <assert.h>
#include <ctype.h>
#include <string.h>
-#ifndef NCMPC_MINI
-
// FIXME: utf-8 length
char *
strscroll(char *str, char *separator, int width, scroll_state_t *st)
@@ -73,5 +70,3 @@ strscroll(char *str, char *separator, int width, scroll_state_t *st)
g_free(tmp);
return buf;
}
-
-#endif