From 18e35134a0bd0aeb3232b6e351b54257c4b218cf Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 22 Oct 2016 16:50:31 +0200 Subject: [PATCH] Changed: Write UNIX EOL in UV files --- code/nel/tools/3d/build_interface/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/tools/3d/build_interface/main.cpp b/code/nel/tools/3d/build_interface/main.cpp index 2a5cef8f5..4ed3b46a6 100644 --- a/code/nel/tools/3d/build_interface/main.cpp +++ b/code/nel/tools/3d/build_interface/main.cpp @@ -477,7 +477,7 @@ int main(int argc, char **argv) { fmtName = fmtName.substr(0, fmtName.rfind('.')); fmtName += ".txt"; - FILE *f = nlfopen(fmtName, "wt"); + FILE *f = nlfopen(fmtName, "wb"); if (f != NULL) { for (sint i = 0; i < mapSize; ++i) @@ -511,7 +511,7 @@ int main(int argc, char **argv) // Write subset UV text file fmtName = fmtName.substr(0, fmtName.rfind('.')); fmtName += ".txt"; - FILE *f = nlfopen(fmtName, "wt"); + FILE *f = nlfopen(fmtName, "wb"); if (f == NULL) {