Browse Source

code: remove spurious tabs.

legacy
Sam Hocevar 5 years ago
parent
commit
8e105e2d63
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/ui/controller.cpp

+ 4
- 4
src/ui/controller.cpp View File

@@ -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 -------------------------------------------


Loading…
Cancel
Save