From 8e105e2d63e293fa00e58eb4e48ac7f8491b4da4 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 22 Feb 2019 13:50:17 +0100 Subject: [PATCH] code: remove spurious tabs. --- src/ui/controller.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/controller.cpp b/src/ui/controller.cpp index 4fe42a9c..558100b4 100644 --- a/src/ui/controller.cpp +++ b/src/ui/controller.cpp @@ -228,9 +228,9 @@ Controller::Controller(std::string const &name) m_activate_nextframe = true; m_deactivate_nextframe = false; m_active = false; - if (g_controllers[name]) + if (g_controllers[name]) msg::warn("controller ā€œ%sā€ has already been registered\n", name.c_str()); - g_controllers[name] = this; + g_controllers[name] = this; } Controller::Controller(std::string const &name, InputProfile const& profile) @@ -242,8 +242,8 @@ Controller::Controller(std::string const &name, InputProfile const& profile) Controller::~Controller() { ClearProfile(); - if (g_controllers[m_name] == this) - g_controllers.erase(m_name); + if (g_controllers[m_name] == this) + g_controllers.erase(m_name); } //Init mode 1: Input profile system -------------------------------------------