]> git.wh0rd.org Git - nano.git/commitdiff
remove unnecessary can_change_colors() call
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 27 Jul 2005 03:12:22 +0000 (03:12 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 27 Jul 2005 03:12:22 +0000 (03:12 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2945 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/color.c

index 811f64a910f359489605662c5ea08753f1db88cb..547ba1c6236be04330ec8e013d6396d6622a3dd0 100644 (file)
@@ -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;