Ver Fonte

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

bel há 10 anos atrás
pai
commit
a7bd699f48
1 ficheiros alterados com 1 adições e 1 exclusões
  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")