mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Rename enum dive_comp_type to divemode_t
...as the usuage is not anymore about a computer but a momentary dive mode. Rename the end indicator as well. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
		
							parent
							
								
									0b836f12fc
								
							
						
					
					
						commit
						969dfee9ec
					
				
					 15 changed files with 43 additions and 43 deletions
				
			
		|  | @ -205,7 +205,7 @@ void YearlyStatisticsModel::update_yearly_stats() | |||
| 	/* Show the statistic sorted by dive type */ | ||||
| 	if (stats_by_type != NULL && stats_by_type[0].selection_size) { | ||||
| 		YearStatisticsItem *item = new YearStatisticsItem(stats_by_type[0]); | ||||
| 		for (i = 1; i <= NUM_DC_TYPE; ++i) { | ||||
| 		for (i = 1; i <= NUM_DIVEMODE; ++i) { | ||||
| 			if (stats_by_type[i].selection_size == 0) | ||||
| 				continue; | ||||
| 			YearStatisticsItem *iChild = new YearStatisticsItem(stats_by_type[i]); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue