From: Holger Schemel Date: Sat, 30 Nov 2024 09:02:42 +0000 (+0100) Subject: fixed wrong operand in "if" clause X-Git-Tag: 4.4.0.0-test-4~11 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=8d8e6554dfd5dde043b31a8e08d75445b0682b66;p=rocksndiamonds.git fixed wrong operand in "if" clause --- 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);