Commit 6441e689 authored by Albert Zeyer's avatar Albert Zeyer

fixed nokeyboard dialog text input

parent 524dbc56
......@@ -198,6 +198,8 @@ void CDialog::processInput(int move)
m_cursorpos += 1;
if(m_cursorpos > m_length)
m_cursorpos = 0;
if(m_cursorpos >= m_name.length())
m_name.resize(m_cursorpos + 1, ' ');
m_curletter = m_name.at(m_cursorpos);
}
else if(g_pInput->getPressedKey(KLEFT))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment