Fixing compilation when configured with --enable-tiny plus --enable-nanorc.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5722 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
d08d72a05d
commit
1786484486
|
@ -5,6 +5,8 @@
|
||||||
* src/rcfile.c (color_to_short): Elide a variable.
|
* src/rcfile.c (color_to_short): Elide a variable.
|
||||||
* src/rcfile.c (grab_and_store): First check that there is an
|
* src/rcfile.c (grab_and_store): First check that there is an
|
||||||
open syntax before checking that it is named "default".
|
open syntax before checking that it is named "default".
|
||||||
|
* src/rcfile.c (parse_rcfile): Fix compilation when configured with
|
||||||
|
--enable-tiny plus --enable-nanorc.
|
||||||
|
|
||||||
2016-03-10 Benno Schulenberg <bensberg@justemail.net>
|
2016-03-10 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/rcfile.c (grab_and_store): Do not accept 'header" and 'magic'
|
* src/rcfile.c (grab_and_store): Do not accept 'header" and 'magic'
|
||||||
|
|
|
@ -1206,9 +1206,9 @@ void parse_rcfile(FILE *rcstream
|
||||||
if (opensyntax && endcolor == NULL)
|
if (opensyntax && endcolor == NULL)
|
||||||
rcfile_error(N_("Syntax \"%s\" has no color commands"),
|
rcfile_error(N_("Syntax \"%s\" has no color commands"),
|
||||||
live_syntax->name);
|
live_syntax->name);
|
||||||
#endif
|
|
||||||
|
|
||||||
opensyntax = FALSE;
|
opensyntax = FALSE;
|
||||||
|
#endif
|
||||||
|
|
||||||
free(buf);
|
free(buf);
|
||||||
fclose(rcstream);
|
fclose(rcstream);
|
||||||
|
|
Loading…
Reference in New Issue