mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Adjust array size to fit all csv params
Back in e544796199 ("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@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
			
			
This commit is contained in:
		
							parent
							
								
									d7762f8fbe
								
							
						
					
					
						commit
						c8c29ac8cf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								file.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								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]; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue