Fix missing 'and' in demo (per #19)
This commit is contained in:
parent
4eadfee6f4
commit
44be6169e3
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ Quickie is an [immediate mode gui][IMGUI] library for [LÖVE][LOVE]. Initial
|
||||||
function love.keypressed(key, code)
|
function love.keypressed(key, code)
|
||||||
gui.keyboard.pressed(key)
|
gui.keyboard.pressed(key)
|
||||||
-- LÖVE 0.8: see if this code can be converted in a character
|
-- LÖVE 0.8: see if this code can be converted in a character
|
||||||
if pcall(string.char, code) code > 0 then
|
if pcall(string.char, code) and code > 0 then
|
||||||
gui.keyboard.textinput(string.char(code))
|
gui.keyboard.textinput(string.char(code))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue