From 8d8e6554dfd5dde043b31a8e08d75445b0682b66 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 30 Nov 2024 10:02:42 +0100 Subject: [PATCH] fixed wrong operand in "if" clause --- src/screens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens.c b/src/screens.c index 093a3a88..e8be8d71 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4649,7 +4649,7 @@ void HandleInfoScreen_Generic(int mx, int my, int dx, int dy, int button) DrawInfoScreen_GenericScreen(screen_nr, num_screens, use_global_screens); } - else if (info_mode == INFO_MODE_LEVEL & ABS(dx) == 1) + else if (info_mode == INFO_MODE_LEVEL && ABS(dx) == 1) { HandleInfoScreen_SelectLevel(1, dx); -- 2.34.1