Code cleanup

This commit is contained in:
Unknown 2018-05-24 17:05:36 -04:00
parent 007ea0a170
commit bb8b3a471b
3 changed files with 3 additions and 3 deletions

View file

@ -985,7 +985,7 @@ local function data_register(name, callbackRead, callbackSave, callbackName)
callbackSave = function() end
end
-- name callback is nill when not defined
-- name callback is nil when not defined
data_handlers[name] = { read = callbackRead, save = callbackSave, name = callbackName }
end

View file

@ -179,7 +179,7 @@ function ffield_projector_key(character, keycode)
return true
elseif character == 'e' or character == 'E' then
local projector = ffield_projector_getSelected()
if projector ~= nil and projector.device ~= nill then
if projector ~= nil and projector.device ~= nil then
ffield_enable(projector)
end
return true

View file

@ -962,7 +962,7 @@ local function data_register(name, callbackRead, callbackSave, callbackName)
callbackSave = function() end
end
-- name callback is nill when not defined
-- name callback is nil when not defined
data_handlers[name] = { read = callbackRead, save = callbackSave, name = callbackName }
end