nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 572207da79995be20ae61c70a9f53074cc1b834c
parent 231158d61aa47f66c16c6b35d80253fe67397a79
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Fri, 24 Mar 2006 04:22:45 +0000

formatting fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3316 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/search.c | 17+++++------------
1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/src/search.c b/src/search.c @@ -177,35 +177,28 @@ int search_init(bool replacing, bool use_answer) &search_history, #endif edit_refresh, "%s%s%s%s%s%s", _("Search"), - #ifndef NANO_TINY /* This string is just a modifier for the search prompt; no * grammar is implied. */ ISSET(CASE_SENSITIVE) ? _(" [Case Sensitive]") : #endif - "", - + "", #ifdef HAVE_REGEX_H /* This string is just a modifier for the search prompt; no * grammar is implied. */ ISSET(USE_REGEXP) ? _(" [Regexp]") : #endif - "", - + "", #ifndef NANO_TINY /* This string is just a modifier for the search prompt; no * grammar is implied. */ ISSET(BACKWARDS_SEARCH) ? _(" [Backwards]") : #endif - "", - - replacing ? + "", replacing ? #ifndef NANO_TINY - openfile->mark_set ? _(" (to replace) in selection") : + openfile->mark_set ? _(" (to replace) in selection") : #endif - _(" (to replace)") : "", - - buf); + _(" (to replace)") : "", buf); /* Release buf now that we don't need it anymore. */ free(buf);