]> git.wh0rd.org Git - nano.git/commitdiff
Ehm... no, you can't do that.
authorBenno Schulenberg <bensberg@justemail.net>
Wed, 14 May 2014 10:01:42 +0000 (10:01 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Wed, 14 May 2014 10:01:42 +0000 (10:01 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4882 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/color.c

index d666499aad835daf8fb439eca0f0777d4432b352..3ce987daab0ad0591d5f9f1cbf21b160c63c5308 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,7 +4,6 @@
        two-column characters properly.  This fixes Savannah bug #31743.
        * src/nano.c (precalc_multicolorinfo): Improve debugging messages,
        and remove superfluous assignment (fileptr already equals endptr).
-       * src/color.c (color_update): Close the libmagic file after use.
 
 2014-05-13  Benno Schulenberg  <bensberg@justemail.net>
        * src/text.c (do_linter): Make an error message somewhat clearer.
index 7a53b35d6abd53ca8d3698c08133c60bde95a2c5..f064fae1fefd02dc00f6ff682f437f108531683b 100644 (file)
@@ -201,7 +201,6 @@ void color_update(void)
                statusbar(_("magic_file(%s) failed: %s"),
                                openfile->filename, magic_error(cookie));
            }
-           magic_close(cookie);
 #ifdef DEBUG
            fprintf(stderr, "Returned magic string is: %s\n", magicstring);
 #endif