Browse Source

input: fix uninitialised variable.

legacy
Sam Hocevar 8 years ago
parent
commit
3544e76a4d
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/input/input.h

+ 3
- 1
src/input/input.h View File

@@ -211,7 +211,9 @@ protected:

static bool m_capturemouse;

InputDevice(String const &name) : m_name(name)
InputDevice(String const &name)
: m_name(name),
m_input_active(false)
{
devices.push_unique(this);
}


Loading…
Cancel
Save