2011-03-03 Chris Allegretta <chrisa@asty.org>

* color.c (color_update): Remove unneeded debugging message from
          libmagic commit.  Fixed extra messages going to stderr reported by Mike Frysinger.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4539 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Chris Allegretta 2011-03-03 16:23:27 +00:00
parent 34de1a6706
commit bccf2fa1c9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-03-03 Chris Allegretta <chrisa@asty.org>
* color.c (color_update): Remove unneeded debugging message from
libmagic commit. Fixed extra messages going to stderr reported by Mike Frysinger.
GNU nano 2.3.0 - 2011.02.26
2011-02-26 Chris Allegretta <chrisa@asty.org>
* Change RAW in function_type enum to RAWINPUT, to fix compilation on AIX,
reported by Richard G Daniel <skunk@iskunk.org>.

View File

@ -244,7 +244,6 @@ void color_update(void)
#endif /* DEBUG */
if (magicstring && regexec(e->ext, magicstring, 0, NULL, 0) == 0) {
fprintf(stderr,"We matched!\n");
openfile->syntax = tmpsyntax;
openfile->colorstrings = tmpsyntax->color;
break;