aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2005-06-15 20:36:50 +0000
committerKalle Wallin <kaw@linux.se>2005-06-15 20:36:50 +0000
commitaa11ee4b0f6b186c0beca5b6bc1f818cebe981f5 (patch)
treeaba36263e0a5f7c09980184a19d2c3c566f68d82 /src/conf.c
parentc94d06df7370bfe88f6a42f22142f05927c5c44b (diff)
downloadmpd-aa11ee4b0f6b186c0beca5b6bc1f818cebe981f5.tar.gz
mpd-aa11ee4b0f6b186c0beca5b6bc1f818cebe981f5.tar.xz
mpd-aa11ee4b0f6b186c0beca5b6bc1f818cebe981f5.zip
New configuraton option: find-show-last
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3359 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index 73135b8f6..4b5e49230 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -54,6 +54,7 @@
#define CONF_XTERM_TITLE_FORMAT "xterm-title-format"
#define CONF_LIST_WRAP "wrap-around"
#define CONF_FIND_WRAP "find-wrap"
+#define CONF_FIND_SHOW_LAST "find-show-last"
#define CONF_AUDIBLE_BELL "audible-bell"
#define CONF_VISIBLE_BELL "visible-bell"
#define CONF_XTERM_TITLE "set-xterm-title"
@@ -490,6 +491,10 @@ read_rc_file(char *filename, options_t *options)
{
options->find_wrap = str2bool(value);
}
+ else if( !strcasecmp(CONF_FIND_SHOW_LAST,name) )
+ {
+ options->find_show_last_pattern = str2bool(value);
+ }
else if( !strcasecmp(CONF_AUDIBLE_BELL, name) )
{
options->audible_bell = str2bool(value);