Code

options: don't store disabled options
[ncmpc.git] / src / options.h
index 791ec2f09c9faa3971ebf8ee0bcaf9135f805505..5496e78ca468a82db9517bb26754d7139a7dd357 100644 (file)
@@ -25,7 +25,9 @@ typedef struct {
        int search_mode;
        int hide_cursor;
        int seek_time;
+#ifdef ENABLE_LYRICS_SCREEN
        int lyrics_timeout;
+#endif
        bool find_wrap;
        bool find_show_last_pattern;
        bool list_wrap;
@@ -37,7 +39,9 @@ typedef struct {
        bool audible_bell;
        bool visible_bell;
        bool enable_xterm_title;
+#ifdef HAVE_GETMOUSE
        bool enable_mouse;
+#endif
        bool scroll;
        bool visible_bitrate;
        bool welcome_screen_list;