mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	Histogram: Fixed crash due to to 4bbc372
				
					
				
			This commit is contained in:
		
				
					committed by
					
						
						Birunthan Mohanathas
					
				
			
			
				
	
			
			
			
						parent
						
							52b6078303
						
					
				
				
					commit
					0f1e4a1292
				
			@@ -433,7 +433,7 @@ bool CMeterHistogram::Draw(Graphics& graphics)
 | 
			
		||||
		(m_Measures.size() >= 1 && !m_PrimaryValues) ||
 | 
			
		||||
		(m_Measures.size() >= 2 && !m_SecondaryValues)) return false;
 | 
			
		||||
 | 
			
		||||
	CMeasure* secondaryMeasure = m_Measures[1];
 | 
			
		||||
	CMeasure* secondaryMeasure = (m_Measures.size() >= 2) ? m_Measures[1] : NULL;
 | 
			
		||||
 | 
			
		||||
	GraphicsPath primaryPath;
 | 
			
		||||
	GraphicsPath secondaryPath;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user