From d4e3c59f279b2085c34916964d04725c244ea6fa Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 27 Jul 2005 03:12:22 +0000 Subject: [PATCH] remove unnecessary can_change_colors() call git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2945 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color.c b/src/color.c index 811f64a9..547ba1c6 100644 --- a/src/color.c +++ b/src/color.c @@ -64,7 +64,7 @@ void color_init(void) { assert(openfile != NULL); - if (has_colors() && can_change_color()) { + if (has_colors()) { const colortype *tmpcolor; #ifdef HAVE_USE_DEFAULT_COLORS bool defok;