- 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
master
Chris Allegretta 2002-01-16 01:09:11 +00:00
parent 438f713b3f
commit ea250e8b90
2 changed files with 6 additions and 3 deletions

View File

@ -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).

View File

@ -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;
}