From aa6c92ff402e40aca5723a7148b9024c18d1e084 Mon Sep 17 00:00:00 2001 From: Dario Manesku Date: Tue, 11 Nov 2014 02:09:39 +0100 Subject: [PATCH] Fixing inputGetChar(). --- examples/common/entry/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/entry/input.cpp b/examples/common/entry/input.cpp index bd3c2bbd..49f1eb51 100644 --- a/examples/common/entry/input.cpp +++ b/examples/common/entry/input.cpp @@ -109,7 +109,7 @@ struct Keyboard popChar(); } - memcpy(&m_char[m_ring.m_write], _char, 4); + memcpy(&m_char[m_ring.m_current], _char, 4); m_ring.commit(4); }