mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-11-04 10:49:11 +01:00 
			
		
		
		
	Fixed overlapping memcpy
This commit is contained in:
		@@ -372,7 +372,7 @@ namespace ImGui {
 | 
			
		||||
            rawFFTs.resize(waterfallHeight);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        memcpy(&waterfallFb[dataWidth], waterfallFb, dataWidth * (waterfallHeight - 1) * sizeof(uint32_t));
 | 
			
		||||
        memmove(&waterfallFb[dataWidth], waterfallFb, dataWidth * (waterfallHeight - 1) * sizeof(uint32_t));
 | 
			
		||||
        float pixel;
 | 
			
		||||
        float dataRange = waterfallMax - waterfallMin;
 | 
			
		||||
        for (int j = 0; j < dataWidth; j++) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user