Fix line ending parsing issues in spcomp on windows
fgetpos fails with UNIX \n new lines on windows if the file was open in textual mode.
This commit is contained in:
		
							parent
							
								
									594cc249ef
								
							
						
					
					
						commit
						fec133bee6
					
				| @ -116,7 +116,7 @@ void *pc_opensrc(char *filename) | |||||||
| 	} | 	} | ||||||
| 	#endif | 	#endif | ||||||
| 
 | 
 | ||||||
| 	return fopen(filename,"rt"); | 	return fopen(filename,"rb"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /* pc_createsrc()
 | /* pc_createsrc()
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user