From 6bebfa90e185482c1ee0c83582a29a4e86ec9ba4 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Mon, 2 Sep 2013 06:14:26 +0200 Subject: [PATCH] Fix spacing --- src/input.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/input.cpp b/src/input.cpp index 86c4b36..5e7b125 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -243,8 +243,8 @@ static const int mapToIndex[] = 13, 14, 15, 0, 16, 17, 18, 19, 20, - 0, 0, 0, 0, 0, 0, 0, 0, - 21, 22, 23 + 0, 0, 0, 0, 0, 0, 0, 0, + 21, 22, 23 }; static elementsN(mapToIndex); @@ -254,17 +254,17 @@ static const Input::ButtonCode dirs[] = static const int dirFlags[] = { - 1 << Input::Down, - 1 << Input::Left, - 1 << Input::Right, - 1 << Input::Up + 1 << Input::Down, + 1 << Input::Left, + 1 << Input::Right, + 1 << Input::Up }; /* Dir4 is always zero on these combinations */ static const int deadDirFlags[] = { - dirFlags[0] | dirFlags[3], - dirFlags[1] | dirFlags[2] + dirFlags[0] | dirFlags[3], + dirFlags[1] | dirFlags[2] }; static const Input::ButtonCode otherDirs[4][3] =