mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Divinglog import: ascent warning added
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									c91ecb62af
								
							
						
					
					
						commit
						0011d43711
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -2893,6 +2893,14 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu | |||
| 			strcpy(cur_event.name, "rbt"); | ||||
| 			event_end(); | ||||
| 		} | ||||
| 
 | ||||
| 		/* Ascent warning */ | ||||
| 		if (ptr[7] - '0') { | ||||
| 			event_start(); | ||||
| 			cur_event.time.seconds = sinterval * i; | ||||
| 			strcpy(cur_event.name, "ascent"); | ||||
| 			event_end(); | ||||
| 		} | ||||
| 		ptr += 12; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue