Fix missing 'and' in demo (per #19)

This commit is contained in:
Stevie 2015-10-03 11:59:09 -07:00
parent 4eadfee6f4
commit 44be6169e3

View file

@ -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