FIX: Use PATHSEP instead of hardcoded "/" path separator
This commit is contained in:
@@ -67,7 +67,7 @@ end
|
||||
|
||||
local function 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.load_user_directory()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user