mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Settings GUI: Fix path settings on Windows
This commit is contained in:
parent
4d9a67682d
commit
c816aa5374
@ -199,7 +199,7 @@ function make.path(setting)
|
||||
self.resettable = core.settings:has(setting.name)
|
||||
|
||||
local fs = ("field[0,0.3;%f,0.8;%s;%s;%s]"):format(
|
||||
avail_w - 3, setting.name, get_label(setting), value)
|
||||
avail_w - 3, setting.name, get_label(setting), core.formspec_escape(value))
|
||||
fs = fs .. ("button[%f,0.3;1.5,0.8;%s;%s]"):format(avail_w - 3, "pick_" .. setting.name, fgettext("Browse"))
|
||||
fs = fs .. ("button[%f,0.3;1.5,0.8;%s;%s]"):format(avail_w - 1.5, "set_" .. setting.name, fgettext("Set"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user