Skip to content

Commit 6f803a5

Browse files
committed
Removed unnecessary whitespace after some strings.
1 parent d5fcacb commit 6f803a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xtra/PATCH.LUA

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ local function patch(pf)
1919
local n=pf:read("*l")while n do
2020
local l,ls=n n=pf:read("*l")ls=l:sub(1,1)
2121
if ls=='+'then
22-
if l:sub(2,4)=="++ " then--ignore
22+
if l:sub(2,4)=="++ "then--ignore
2323
else if of then local nl=n and n:match("^\\ No newline at end of file")of:write(l:sub(2)..(nl and""or'\n'))ol=ol+1 end end
2424
elseif ls=='-'then
25-
if l:sub(2,4)=="-- " then local filename=parseFileName(l)if bf then writeRemainder()end
25+
if l:sub(2,4)=="-- "then local filename=parseFileName(l)if bf then writeRemainder()end
2626
if setPatchFile(filename)then cp=filename print("\n'"..cp.."':")end
2727
else local cmp=bf:read("*l")bl=bl+1 if cmp~=l:sub(2)then print(M)os.exit(1)end end
2828
elseif ls==' 'then
2929
if bf then local cmp,line=bf:read("*l"),l:sub(2)bl=bl+1 if cmp==line then if of then of:write(line..'\n')ol=ol+1 end else print(M)os.exit(1)end end
30-
elseif ls=='@'then if l:sub(2,3)=="@ " then
30+
elseif ls=='@'then if l:sub(2,3)=="@ "then
3131
local function parseHunkHeader()
3232
local function split(i,d)local r={}for m in (i..d):gmatch("(.-)"..d)do table.insert(r,m)end return r end
3333
local s,o,w=split(l," "),{},{}

0 commit comments

Comments
 (0)