aboutsummaryrefslogtreecommitdiff
path: root/src/touchscreengui.cpp
diff options
context:
space:
mode:
authorDavid Jones <david@gogledd.cymru>2015-08-25 21:23:05 +0100
committerShadowNinja <shadowninja@minetest.net>2015-08-25 18:33:52 -0400
commit34b7a147dcf9831f3b4d81599c473ba01ff5da00 (patch)
treee7a95bf333d782ebde897b25070c5d997174e2f5 /src/touchscreengui.cpp
parent2480f2d06fe50295184a60d6659378f9a5d57065 (diff)
downloadminetest-34b7a147dcf9831f3b4d81599c473ba01ff5da00.tar.gz
minetest-34b7a147dcf9831f3b4d81599c473ba01ff5da00.tar.bz2
minetest-34b7a147dcf9831f3b4d81599c473ba01ff5da00.zip
Change i++ to ++i
Diffstat (limited to 'src/touchscreengui.cpp')
-rw-r--r--src/touchscreengui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/touchscreengui.cpp b/src/touchscreengui.cpp
index f5868133f..e4f785f60 100644
--- a/src/touchscreengui.cpp
+++ b/src/touchscreengui.cpp
@@ -331,7 +331,7 @@ bool TouchScreenGUI::isHUDButton(const SEvent &event)
{
// check if hud item is pressed
for (std::map<int,rect<s32> >::iterator iter = m_hud_rects.begin();
- iter != m_hud_rects.end(); iter++) {
+ iter != m_hud_rects.end(); ++iter) {
if (iter->second.isPointInside(
v2s32(event.TouchInput.X,
event.TouchInput.Y)
@@ -510,7 +510,7 @@ void TouchScreenGUI::translateEvent(const SEvent &event)
}
for (std::vector<id_status>::iterator iter = m_known_ids.begin();
- iter != m_known_ids.end(); iter++) {
+ iter != m_known_ids.end(); ++iter) {
if (iter->id == event.TouchInput.ID) {
m_known_ids.erase(iter);
break;
@@ -591,7 +591,7 @@ void TouchScreenGUI::handleChangedButton(const SEvent &event)
continue;
}
for(std::vector<int>::iterator iter = m_buttons[i].ids.begin();
- iter != m_buttons[i].ids.end(); iter++) {
+ iter != m_buttons[i].ids.end(); ++iter) {
if (event.TouchInput.ID == *iter) {