FIX: Use PATHSEP instead of hardcoded "/" path separator
This commit is contained in:
parent
b9fcb6e5ae
commit
63b024cb81
|
@ -67,7 +67,7 @@ end
|
||||||
|
|
||||||
local function save(filename)
|
local function save(filename)
|
||||||
doc():save(filename)
|
doc():save(filename)
|
||||||
if doc().filename == (USERDIR .. "/init.lua") then
|
if doc().filename == (USERDIR .. PATHSEP .. "init.lua") then
|
||||||
core.reload_module("core.style")
|
core.reload_module("core.style")
|
||||||
core.load_user_directory()
|
core.load_user_directory()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue