1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-29 21:56:54 +02:00

CCreatureWindow: correct caption for "Ok" button

This one is fixes issue 1396
This commit is contained in:
ArseniyShestakov 2014-12-23 07:10:33 +03:00
parent 875bfb025e
commit 79cdabe3aa

View File

@ -597,7 +597,7 @@ void CStackWindow::CWindowSection::createButtonPanel()
parent->switchButtons[parent->activeTab]->disable();
}
auto exitBtn = new CButton(Point(382, 5), "hsbtns.def", CGI->generaltexth->zelp[445], [=]{ parent->close(); }, SDLK_RETURN);
auto exitBtn = new CButton(Point(382, 5), "hsbtns.def", CGI->generaltexth->zelp[447], [=]{ parent->close(); }, SDLK_RETURN);
exitBtn->assignedKeys.insert(SDLK_ESCAPE);
}