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:
@@ -116,7 +116,7 @@ void *pc_opensrc(char *filename)
|
||||
}
|
||||
#endif
|
||||
|
||||
return fopen(filename,"rt");
|
||||
return fopen(filename,"rb");
|
||||
}
|
||||
|
||||
/* pc_createsrc()
|
||||
|
||||
Reference in New Issue
Block a user