main: Don't overrun the file that's read
This commit is contained in:
		 Benjamin Otte
					Benjamin Otte
				
			
				
					committed by
					
						 Cosimo Cecchi
						Cosimo Cecchi
					
				
			
			
				
	
			
			
			 Cosimo Cecchi
						Cosimo Cecchi
					
				
			
						parent
						
							075b259321
						
					
				
				
					commit
					6461105429
				
			| @ -655,7 +655,7 @@ load_file (const gchar *filename) | ||||
|  | ||||
|               start = end; | ||||
|  | ||||
|               while (*p != '\n') p++; | ||||
|               while (*p && *p != '\n') p++; | ||||
|  | ||||
|               state++; | ||||
|             } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user