1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index 9bf4cf2..8549d7c 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -1982,8 +1982,8 @@ static int brickmania_game_loop(void)
                 button_right =  move_button & (RIGHT | ALTRIGHT);
                 button_left  =  move_button & (LEFT | ALTLEFT);
 #else
-                button_right =((move_button & RIGHT)|| SCROLL_FWD(move_button))
-                button_left  =((move_button & LEFT) ||SCROLL_BACK(move_button))
+                button_right =((move_button & RIGHT)|| SCROLL_FWD(button));
+                button_left  =((move_button & LEFT) ||SCROLL_BACK(button));
 #endif
                 if ((game_state==ST_PAUSE) && (button_right || button_left))
                     continue;