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:
Peace-Maker 2014-07-02 21:16:06 +02:00
parent 594cc249ef
commit fec133bee6

View File

@ -116,7 +116,7 @@ void *pc_opensrc(char *filename)
}
#endif
return fopen(filename,"rt");
return fopen(filename,"rb");
}
/* pc_createsrc()