[PATCH] Adjust array size to fit all csv params
Anton Lundin
glance at acc.umu.se
Thu Jan 8 13:54:02 PST 2015
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 <glance at acc.umu.se>
---
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
More information about the subsurface
mailing list