mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Dummy parse empty dives
Easiest way to get dives without profiles in, is to just parse empty csv tags. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
		
							parent
							
								
									9d65c5bcdd
								
							
						
					
					
						commit
						f91f16a4b6
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -137,6 +137,7 @@ int parse_dan_format(const char *filename, char **params, int pnr) | |||
| 		/* We got a trailer, no samples on this dive */ | ||||
| 		if (strncmp(iter, "ZDT", 3) == 0) { | ||||
| 			end_ptr = iter - (char *)mem.buffer; | ||||
| 			ret |= parse_xml_buffer(filename, "<csv></csv>", 11, &dive_table, (const char **)params); | ||||
| 			continue; | ||||
| 		} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue