mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 09:06:19 +00:00
Changed: Write UNIX EOL in UV files
--HG-- branch : develop
This commit is contained in:
parent
7f74f70e6f
commit
891784f23d
1 changed files with 2 additions and 2 deletions
|
@ -477,7 +477,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
fmtName = fmtName.substr(0, fmtName.rfind('.'));
|
fmtName = fmtName.substr(0, fmtName.rfind('.'));
|
||||||
fmtName += ".txt";
|
fmtName += ".txt";
|
||||||
FILE *f = nlfopen(fmtName, "wt");
|
FILE *f = nlfopen(fmtName, "wb");
|
||||||
if (f != NULL)
|
if (f != NULL)
|
||||||
{
|
{
|
||||||
for (sint i = 0; i < mapSize; ++i)
|
for (sint i = 0; i < mapSize; ++i)
|
||||||
|
@ -511,7 +511,7 @@ int main(int argc, char **argv)
|
||||||
// Write subset UV text file
|
// Write subset UV text file
|
||||||
fmtName = fmtName.substr(0, fmtName.rfind('.'));
|
fmtName = fmtName.substr(0, fmtName.rfind('.'));
|
||||||
fmtName += ".txt";
|
fmtName += ".txt";
|
||||||
FILE *f = nlfopen(fmtName, "wt");
|
FILE *f = nlfopen(fmtName, "wb");
|
||||||
|
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue