From c8c29ac8cff7c53ecb5d10b5038fafed59d6d93a Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Thu, 8 Jan 2015 22:54:02 +0100 Subject: Adjust array size to fit all csv params 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 Signed-off-by: Dirk Hohndel --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 16a1c13c2..42f433950 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]; -- cgit v1.2.3-70-g09d2