From f3c6724830cc6100df6a8eebd2db5b6dd814935c Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 7 Aug 2016 17:38:38 +0200 Subject: seq: parse_parent: bump previndent size --- seq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'seq.c') diff --git a/seq.c b/seq.c index de1d24c..d30e4ee 100644 --- a/seq.c +++ b/seq.c @@ -286,7 +286,7 @@ parse_parent(char *map, long *starto, long *stopo) char *s, *t; long line; - int previndent[32] = { 0 }; + int previndent[256] = { 0 }; for (s = map, line = 0; s; s = t+1) { t = strchr(s, '\n'); @@ -298,8 +298,8 @@ parse_parent(char *map, long *starto, long *stopo) s++; indent++; } - if (indent > 31) - indent = 31; + if (indent > 255) + indent = 255; previndent[indent] = line; if (line == *starto) { if (previndent[indent-1]) { -- cgit 1.4.1