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.
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);
+ fprintf(stderr, "Returned magic string is: %s\n", magicstring);
#endif
}
}