From 44be6169e3f894c850e65f219288a24d0ae5cdfd Mon Sep 17 00:00:00 2001 From: Stevie Date: Sat, 3 Oct 2015 11:59:09 -0700 Subject: [PATCH] Fix missing 'and' in demo (per #19) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 734202c..ba9d88e 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ Quickie is an [immediate mode gui][IMGUI] library for [LÖVE][LOVE]. Initial function love.keypressed(key, code) gui.keyboard.pressed(key) -- 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)) end end