commit | de852623ee41f19e3cce616bba0fc52469d05bbb | [log] [tgz] |
---|---|---|
author | Chris Allegretta <chrisa@asty.org> | Wed Sep 18 00:28:57 2002 +0000 |
committer | Chris Allegretta <chrisa@asty.org> | Wed Sep 18 00:28:57 2002 +0000 |
tree | a24f257dcfea10cb7a05ef3ce478bdf5d3d9da9a | |
parent | 3f9c3bf10b3b3b008e5cc6f0874ac570b769fb11 [diff] [blame] |
- rcfile.c:parse_colors() - Stop infinite loop when syntax doesn't begin with " char git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1278 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/rcfile.c b/rcfile.c index 8545526..32c06fb 100644 --- a/rcfile.c +++ b/rcfile.c
@@ -371,6 +371,7 @@ if (*ptr != '"') { rcfile_error(_("regex strings must begin and end with a \" character\n")); + ptr = parse_next_regex(ptr); continue; } ptr++;