diff options
Diffstat (limited to 'plugins/data')
-rw-r--r-- | plugins/data/data_hiscore.lua | 2 | ||||
-rw-r--r-- | plugins/data/data_history.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/data/data_hiscore.lua b/plugins/data/data_hiscore.lua index db3569fa46e..3bf5467fe9e 100644 --- a/plugins/data/data_hiscore.lua +++ b/plugins/data/data_hiscore.lua @@ -5,7 +5,7 @@ local dat = {} local env = {} local output local curset -local path = emu.subst_env(mame_manager.ui.options.entries.historypath:value():gsub("([^;]+)", "%1/hi2txt")) +local path = emu.subst_env(mame_manager.ui.options.entries.historypath:value():gsub("([^;]+)", "%1/hi2txt")) local htmlentites = { ["amp"] = "&", ["quot"] = utf8.char(34), diff --git a/plugins/data/data_history.lua b/plugins/data/data_history.lua index c5f79875254..fbc6e2048bf 100644 --- a/plugins/data/data_history.lua +++ b/plugins/data/data_history.lua @@ -7,7 +7,7 @@ local function init() local filepath local dbver local fh - + for path in mame_manager.ui.options.entries.historypath:value():gmatch("([^;]+)") do filepath = emu.subst_env(path) .. "/" .. file fh = io.open(filepath, "r") @@ -29,7 +29,7 @@ local function init() end stmt:finalize() - + local stmt = db.prepare("SELECT version FROM version WHERE datfile = ?") db.check("reading history version") stmt:bind_values(file) |