diff options
author | Kalle Wallin <kaw@linux.se> | 2006-01-16 10:01:35 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2006-01-16 10:01:35 +0000 |
commit | 1603384f1bf298466183a2bfec343293b5b9ead9 (patch) | |
tree | 09eb4628fee2e065e8a75720d14a9cb62a0ac89e /src/options.c | |
parent | 0e1ba218ea357c2ecf9119b8a19017531536229c (diff) | |
download | mpd-1603384f1bf298466183a2bfec343293b5b9ead9.tar.gz mpd-1603384f1bf298466183a2bfec343293b5b9ead9.tar.xz mpd-1603384f1bf298466183a2bfec343293b5b9ead9.zip |
included patch from Jonathan Fors
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/options.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c index dd31203b6..0f281bc16 100644 --- a/src/options.c +++ b/src/options.c @@ -183,7 +183,7 @@ handle_option(int c, char *arg) case 'C': /* --no-colors */ options.enable_colors = FALSE; break; - case 'm': /* --mouse */ + case 'm': /* --mouse */ options.enable_mouse = TRUE; break; case 'M': /* --no-mouse */ @@ -368,7 +368,8 @@ options_init( void ) options.crossfade_time = DEFAULT_CROSSFADE_TIME; options.seek_time = 1; options.screen_list = g_strsplit_set(DEFAULT_SCREEN_LIST, " ", 0); - + options.timedisplay_type = DEFAULT_TIMEDISPLAY_TYPE; + return &options; } |