소스 검색

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

bel 10 년 전
부모
커밋
a7bd699f48
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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")