Przeglądaj źródła

one more try

master
XeonSquared 3 lat temu
rodzic
commit
c5f304380e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      lib/ed.lua

+ 1
- 1
lib/ed.lua Wyświetl plik

@@ -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



Ładowanie…
Anuluj
Zapisz