summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-26 00:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 20:33:15 +0300
commit0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch)
treef577edeae7b4866d68c084a1eaa229e98c80ea8f /src/input
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadmanaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz
manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2
manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz
manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip
Remove extra ; from different code.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputmanager.cpp2
-rw-r--r--src/input/joystick.cpp2
-rw-r--r--src/input/touch/touchmanager.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index a9a0fc29f..3e32621a1 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -906,7 +906,7 @@ bool InputManager::executeChatCommand(const std::string &restrict cmd,
{
reportAlways("Unknown chat command: /%s %s",
cmd.c_str(),
- args.c_str());
+ args.c_str())
}
return false;
}
diff --git a/src/input/joystick.cpp b/src/input/joystick.cpp
index 91e21dc1c..4f7c6e9aa 100644
--- a/src/input/joystick.cpp
+++ b/src/input/joystick.cpp
@@ -227,7 +227,7 @@ void Joystick::logic()
doCalibration();
BLOCK_END("Joystick::logic")
return;
- };
+ }
if (!mEnabled || !mCalibrated)
{
diff --git a/src/input/touch/touchmanager.cpp b/src/input/touch/touchmanager.cpp
index 95fcd26f6..8195a4640 100644
--- a/src/input/touch/touchmanager.cpp
+++ b/src/input/touch/touchmanager.cpp
@@ -200,7 +200,7 @@ void TouchManager::clear() restrict2
FOR_EACH (TouchItemVectorCIter, it, mObjects)
unload(*it);
mObjects.clear();
- delete2(mVertexes);
+ delete2(mVertexes)
mRedraw = true;
}
@@ -394,7 +394,7 @@ void TouchManager::unload(TouchItem *restrict const item)
if (item->images != nullptr)
{
Theme::unloadRect(*item->images, 0, 8);
- delete2(item->images);
+ delete2(item->images)
if (item->icon != nullptr)
{
item->icon->decRef();
@@ -647,7 +647,7 @@ void TouchManager::loadButtons() restrict2
nullptr, nullptr, nullptr, nullptr);
break;
}
- };
+ }
theme->unload(skin);
}
}