]> git.wh0rd.org Git - nano.git/commitdiff
Fix reset_multis undefined call when not using color.
authorChris Allegretta <chrisa@asty.org>
Mon, 26 Jan 2009 07:55:01 +0000 (07:55 +0000)
committerChris Allegretta <chrisa@asty.org>
Mon, 26 Jan 2009 07:55:01 +0000 (07:55 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4352 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

index 1eff99e0c7c728d4b811f9892b0ef078a69dd50d..752b96623130f4084f31489f6fbb672087542446 100644 (file)
@@ -1705,7 +1705,9 @@ void do_output(char *output, size_t output_len, bool allow_cntrls)
     openfile->placewewant = xplustabs();
 
 
+#ifdef ENABLE_COLOR
     reset_multis(openfile->current);
+#endif
     if (do_refresh)
        edit_refresh();
     else