From 5612fb3a7f20a9385ba786bb25d25081b86259dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 4 Jun 2017 03:18:46 +0300 Subject: Fix code style. --- src/actions/actions.cpp | 4 ++-- src/actions/commands.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/actions') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 338a749b0..c98b2a429 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -1270,9 +1270,9 @@ static void showRes(std::string str, ResourceManager::Resources *res) else iter->second->setDumped(true); - SubImage *const subImage = dynamic_cast( + SubImage *const subImage = dynamic_cast( iter->second); - Image *const image = dynamic_cast(iter->second); + Image *const image = dynamic_cast(iter->second); int id = 0; if (subImage) type = 'S'; diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 53c1f4fd0..bb7e37d87 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -91,7 +91,7 @@ static std::string getNick(const InputEvent &event) if (!event.tab || event.tab->getType() != ChatTabType::WHISPER) return std::string(); - WhisperTab *const whisper = static_cast(event.tab); + WhisperTab *const whisper = static_cast(event.tab); if (whisper->getNick().empty()) { // TRANSLATORS: change relation -- cgit v1.2.3-60-g2f50