Explorar el Código

Do not change line endings to \r\n on Windows

bel hace 10 años
padre
commit
a7bd699f48
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      resources/cleanup.lua

+ 1 - 1
resources/cleanup.lua

@@ -56,7 +56,7 @@ print("Tabs converted to spaces: " .. tostring(tabspace))
 print("Invalid characters:       " .. tostring(invalid))
 
 if changed then
-    local f = io.open(clean, "w")
+    local f = io.open(clean, "wb")
     for i=1,#newfile do
         f:write(newfile[i])
         f:write("\n")