mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit f3c6724830cc6100df6a8eebd2db5b6dd814935c
parent e2679e44234f24d9a8c4cb4d64d531e9fc03d455
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Sun,  7 Aug 2016 17:38:38 +0200

seq: parse_parent: bump previndent size

Diffstat:
seq.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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]) {