1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-15 09:39:53 +00:00

Fix arrow down in console

This commit is contained in:
scrawl 2013-11-23 22:48:39 +01:00
parent d2ed77f3f2
commit f3e89e9168

View File

@ -246,7 +246,7 @@ namespace MWGui
{ {
if(mCurrent != mCommandHistory.end()) if(mCurrent != mCommandHistory.end())
{ {
--mCurrent; ++mCurrent;
if(mCurrent != mCommandHistory.end()) if(mCurrent != mCommandHistory.end())
mCommandLine->setCaption(*mCurrent); mCommandLine->setCaption(*mCurrent);