simple change in initialization
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/actions.cc
→
src/actions.cc
@@ -15,8 +15,8 @@
OBActions::OBActions() : _button(0), _enter_win(0) { - _presses[0] = new MousePressAction(); - _presses[1] = new MousePressAction(); + for (int i = 0; i < 2; ++i) + _presses[i] = new MousePressAction(); // XXX: load a configuration out of somewhere