mirror of
				https://github.com/glfw/glfw.git
				synced 2025-11-03 22:04:15 +00:00 
			
		
		
		
	Fixed invalid pointer use.
This commit is contained in:
		
							parent
							
								
									e991a0e7cc
								
							
						
					
					
						commit
						525b4151f0
					
				@ -103,7 +103,7 @@ static void list_modes(GLFWmonitor* monitor)
 | 
			
		||||
    {
 | 
			
		||||
        printf("%3u: %s", (unsigned int) i, format_mode(modes + i));
 | 
			
		||||
 | 
			
		||||
        if (memcmp(&mode, modes + i, sizeof(GLFWvidmode)) == 0)
 | 
			
		||||
        if (memcmp(mode, modes + i, sizeof(GLFWvidmode)) == 0)
 | 
			
		||||
            printf(" (current mode)");
 | 
			
		||||
 | 
			
		||||
        putchar('\n');
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user