mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 12:42:34 +01:00
Cleanup. (#3501)
This commit is contained in:
committed by
GitHub
parent
efe84f3f14
commit
f510ab6db8
@@ -136,7 +136,7 @@ struct InputKeyboard
|
||||
|
||||
const uint8_t* popChar()
|
||||
{
|
||||
if (0 < m_ring.available() )
|
||||
if (0 < m_ring.getNumUsed() )
|
||||
{
|
||||
uint8_t* utf8 = &m_char[m_ring.m_read];
|
||||
m_ring.consume(4);
|
||||
|
||||
Reference in New Issue
Block a user