Re: [PATCH] hide OPT_MONO_* in 'M'enu when use_color=on
Dennis Preiser <[email protected]> Thu, 27 Oct 2011 21:18:01 +0200
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Oct 27, 2011 at 08:27:29PM +0200, Urs JanÃen wrote: > On Thu, Oct 27, 2011 at 06:55:37PM +0200, Dennis Preiser wrote: >> + return curr_scope ? FALSE : (tinrc.word_highlight && !tinrc.use_color); >> + > > tinrc.use_color is only available if the system can do colors (HAVE_COLOR is > set) on other systems you end up with > > ./options_menu.c: In function 'option_is_visible': > ./options_menu.c:231: error: 'struct t_config' has no member named > 'use_color' > make: *** [options_menu.o] Error 1 Attached a revised patch which supersedes the previous one. In addition, I've added a new section "Highlight Options". This section will be displayed instead of "Color Options" in the !HAVE_COLOR case. The items in question were arranged under "Filtering Options" before. Dennis
20111027.diff.gz
(application/x-gunzip, 813 B) - not displayed