From: Chris Allegretta Date: Wed, 16 Jan 2002 01:09:11 +0000 (+0000) Subject: - color.c:do_colorinit() - Moved some comments and braces around so color can work... X-Git-Tag: v1.1.6~31 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ea250e8b90dcbb2fd239d532f48227b5d885ebdc;p=nano.git - 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 --- diff --git a/ChangeLog b/ChangeLog index ef098661..c607c432 100644 --- 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 index 0724c9a2..e9f6a9b6 100644 --- 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; }