aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-07 13:27:31 +0100
committerMax Kellermann <max@duempel.org>2008-11-07 13:27:31 +0100
commit54674384020f5d8019ca71f6c283d18ba32d5171 (patch)
tree8684aa7a9ccd18c808ad265e7c7bb9e283833cdc /src/options.c
parent9e8806dadee58efe36151a6bca22d65487ed02ee (diff)
downloadmpd-54674384020f5d8019ca71f6c283d18ba32d5171.tar.gz
mpd-54674384020f5d8019ca71f6c283d18ba32d5171.tar.xz
mpd-54674384020f5d8019ca71f6c283d18ba32d5171.zip
disable more features with --enable-mini
Disable lots of smaller features which don't have a separate configure option: - xterm title - screen list - horizontal scrolling - MPD version number check - key binding checks - character set conversion - bitrate display - highlighting in the file browser - completion / history
Diffstat (limited to '')
-rw-r--r--src/options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index 3c39bdaf6..b6a49e3c6 100644
--- a/src/options.c
+++ b/src/options.c
@@ -55,8 +55,10 @@ options_t options = {
.find_wrap = true,
.wide_cursor = true,
.audible_bell = true,
+#ifndef NCMPC_MINI
.scroll = DEFAULT_SCROLL,
.welcome_screen_list = true,
+#endif
};
static const arg_opt_t option_table[] = {
@@ -353,5 +355,7 @@ options_init(void)
options.status_format = g_strdup(DEFAULT_STATUS_FORMAT);
options.screen_list = g_strsplit_set(DEFAULT_SCREEN_LIST, " ", 0);
options.timedisplay_type = g_strdup(DEFAULT_TIMEDISPLAY_TYPE);
+#ifndef NCMPC_MINI
options.scroll_sep = g_strdup(DEFAULT_SCROLL_SEP);
+#endif
}