nano

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

commit ea250e8b90dcbb2fd239d532f48227b5d885ebdc
parent 438f713b3fbfcbfc71a94750eca265ff46b75198
Author: Chris Allegretta <chrisa@asty.org>
Date:   Wed, 16 Jan 2002 01:09:11 +0000

- color.c:do_colorinit() - Moved some comments and braces around so color can work w/slang (DLR)


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

Diffstat:
MChangeLog | 4++++
Mcolor.c | 5++---
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -7,6 +7,10 @@ CVS code - - Better partial word checking code. New function search.c:is_whole_word(), changes to findnextstr(), and nano.c:do_int_spell_fix() (Rocco Corsi). +- color.c: + do_colorinit() + - Moved some comments and braces around so color can work + w/slang (DLR). - nano.c: usage() - Remove extra \n in --keypad description (Jordi). diff --git a/color.c b/color.c @@ -107,7 +107,7 @@ int do_colorinit(void) /* Add in colors, if available */ #ifdef HAVE_USE_DEFAULT_COLORS - if (use_default_colors() != ERR) { + if (use_default_colors() != ERR) defok = 1; #endif @@ -172,9 +172,8 @@ int do_colorinit(void) colorinit_one(COLOR_STATUSBAR, COLOR_BLACK, COLOR_CYAN, 0); colorinit_one(COLOR_TEXT, COLOR_WHITE, COLOR_BLACK, 0); colorinit_one(COLOR_MARKER, COLOR_BLACK, COLOR_CYAN, 0); - */ } - +*/ return 0; }