summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/joypad_linux.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-20 16:06:08 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-20 16:06:08 +0200
commitda9764ad438a0dab31f74791d1cf84612ed52c69 (patch)
tree644b6c8e05f5ef05da89f1b284f24256a3031616 /platform/linuxbsd/joypad_linux.cpp
parent0a4aedb36065f66fc7e99cb2e6de3e55242f9dfb (diff)
parente90c5a46042feb4b1781062dc4d4e8f075009638 (diff)
downloadredot-engine-da9764ad438a0dab31f74791d1cf84612ed52c69.tar.gz
Merge pull request #93313 from Repiteo/ci/clang-format
CI: Update `clang-format` pre-commit hook to latest version
Diffstat (limited to 'platform/linuxbsd/joypad_linux.cpp')
-rw-r--r--platform/linuxbsd/joypad_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/joypad_linux.cpp b/platform/linuxbsd/joypad_linux.cpp
index a67428b9a4..49f2690e61 100644
--- a/platform/linuxbsd/joypad_linux.cpp
+++ b/platform/linuxbsd/joypad_linux.cpp
@@ -50,7 +50,7 @@
#define LONG_BITS (sizeof(long) * 8)
#define test_bit(nr, addr) (((1UL << ((nr) % LONG_BITS)) & ((addr)[(nr) / LONG_BITS])) != 0)
-#define NBITS(x) ((((x)-1) / LONG_BITS) + 1)
+#define NBITS(x) ((((x) - 1) / LONG_BITS) + 1)
#ifdef UDEV_ENABLED
static const char *ignore_str = "/dev/input/js";