Code cleanup
This commit is contained in:
parent
007ea0a170
commit
bb8b3a471b
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue