Replace a std::string method not implemented until C++11 with a C++0x-valid substitute

develop
Timothy Collett 2014-04-13 11:18:31 -04:00 committed by Alexander Gavrilov
parent 74429f12d7
commit e4641c506f
1 changed files with 1 additions and 1 deletions

@ -153,7 +153,7 @@ void viewscreen_commandpromptst::feed(std::set<df::interface_key> *events)
if (key==interface_key::STRING_A000) //delete?
{
if(entry.size())
entry.pop_back();
entry.resize(entry.size()-1);
continue;
}
if (key >= interface_key::STRING_A000 &&