Back in e544796199eb ("Add missing divemaster field to the manual
import"), divemaster field got added without extending the array length.
This corrects that.Signed-off-by: Anton Lundin <[email protected]> --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 16a1c13..42f4339 100644 --- a/file.c +++ b/file.c @@ -973,7 +973,7 @@ int parse_manual_file(const char *filename, int sepidx, int units, int dateforma { struct memblock mem; int pnr = 0; - char *params[51]; + char *params[53]; char numberbuf[MAXCOLDIGITS]; char datebuf[MAXCOLDIGITS]; char timebuf[MAXCOLDIGITS]; -- 2.1.0 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
