소스 검색

one more try

master
XeonSquared 3 년 전
부모
커밋
c5f304380e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      lib/ed.lua

+ 1
- 1
lib/ed.lua 파일 보기

@@ -123,7 +123,7 @@ function ed.open(buffer)
end
if type(buffer) ~= "table" then buffer = ed.newBuffer() end
buffer[1] = buffer[1] or ""
buffer.path = buffer.path or "/"..((bpath:sub(1,1) == "/" and table.concat(fs.segments(path),"/")) or table.concat(fs.segments(os.getenv("PWD").."/"..bpath,"/")))
buffer.path = buffer.path or "/"..((bpath:sub(1,1) == "/" and table.concat(fs.segments(path),"/")) or table.concat(fs.segments(os.getenv("PWD").."/"..bpath),"/"))
return buffer
end



불러오는 중...
취소
저장