dwarfmonitor.lua: use dmerror() consistently

develop
lethosor 2018-05-21 21:23:52 -04:00
parent 8cb5e7fa88
commit 5f81cac3b7
1 changed files with 1 additions and 1 deletions

@ -162,7 +162,7 @@ function load_config()
end
widgets = {}
for _, opts in pairs(config.widgets) do
if type(opts) ~= 'table' then qerror('"widgets" is not an array') end
if type(opts) ~= 'table' then dmerror('"widgets" is not an array') end
if not opts.type then dmerror('Widget missing type field') end
local cls = _ENV['Widget_' .. opts.type]
if not cls then