mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Change i++ to ++i
This commit is contained in:
parent
2480f2d06f
commit
34b7a147dc
41 changed files with 125 additions and 125 deletions
|
@ -2103,7 +2103,7 @@ bool GUIFormSpecMenu::getAndroidUIInput()
|
|||
}
|
||||
|
||||
for(std::vector<FieldSpec>::iterator iter = m_fields.begin();
|
||||
iter != m_fields.end(); iter++) {
|
||||
iter != m_fields.end(); ++iter) {
|
||||
|
||||
if (iter->fname != fieldname) {
|
||||
continue;
|
||||
|
@ -2473,7 +2473,7 @@ void GUIFormSpecMenu::drawMenu()
|
|||
|
||||
if (id != -1 && delta >= m_tooltip_show_delay) {
|
||||
for(std::vector<FieldSpec>::iterator iter = m_fields.begin();
|
||||
iter != m_fields.end(); iter++) {
|
||||
iter != m_fields.end(); ++iter) {
|
||||
if ( (iter->fid == id) && (m_tooltips[iter->fname].tooltip != "") ){
|
||||
if (m_old_tooltip != m_tooltips[iter->fname].tooltip) {
|
||||
m_old_tooltip = m_tooltips[iter->fname].tooltip;
|
||||
|
@ -3609,7 +3609,7 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
|
|||
std::string GUIFormSpecMenu::getNameByID(s32 id)
|
||||
{
|
||||
for(std::vector<FieldSpec>::iterator iter = m_fields.begin();
|
||||
iter != m_fields.end(); iter++) {
|
||||
iter != m_fields.end(); ++iter) {
|
||||
if (iter->fid == id) {
|
||||
return iter->fname;
|
||||
}
|
||||
|
@ -3625,7 +3625,7 @@ std::string GUIFormSpecMenu::getNameByID(s32 id)
|
|||
std::wstring GUIFormSpecMenu::getLabelByID(s32 id)
|
||||
{
|
||||
for(std::vector<FieldSpec>::iterator iter = m_fields.begin();
|
||||
iter != m_fields.end(); iter++) {
|
||||
iter != m_fields.end(); ++iter) {
|
||||
if (iter->fid == id) {
|
||||
return iter->flabel;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue