]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Unwrap #define value
authorConsus <consus@ftml.net>
Sun, 3 Dec 2023 21:57:31 +0000 (00:57 +0300)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 3 Dec 2023 22:04:35 +0000 (23:04 +0100)
In the name of constistency do not wrap the value in parenthesis if the
value is a single number.

src/server.c

index e3c5f7e32bb60a311902282230b50a902cb72899..0aa07a09b9add7fd30c41e9502cc361037b43d1b 100644 (file)
@@ -31,7 +31,7 @@
 #include "workspaces.h"
 #include "xwayland.h"
 
-#define LAB_WLR_COMPOSITOR_VERSION (5)
+#define LAB_WLR_COMPOSITOR_VERSION 5
 #define LAB_WLR_FRACTIONAL_SCALE_V1_VERSION 1
 
 static struct wlr_compositor *compositor;