Sdk/Console: Fix crash
This commit is contained in:
@@ -192,9 +192,12 @@ namespace Ndk
|
|||||||
m_historyPosition = 1;
|
m_historyPosition = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
Nz::String text = m_commandHistory[m_commandHistory.size() - m_historyPosition];
|
if (!m_commandHistory.empty())
|
||||||
m_inputDrawer.SetText(s_inputPrefix + text);
|
{
|
||||||
m_inputTextSprite->Update(m_inputDrawer);
|
Nz::String text = m_commandHistory[m_commandHistory.size() - m_historyPosition];
|
||||||
|
m_inputDrawer.SetText(s_inputPrefix + text);
|
||||||
|
m_inputTextSprite->Update(m_inputDrawer);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user