diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputmanager.cpp | 2 | ||||
-rw-r--r-- | src/input/joystick.cpp | 2 | ||||
-rw-r--r-- | src/input/touch/touchmanager.cpp | 6 |
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); } } |