From b9d337f3c0ca2501744a1bb12b9bd6d3929c692c Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 9 Feb 2025 10:19:46 +0900 Subject: updates --- dwmblocks/dwmblocks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dwmblocks/dwmblocks.c') diff --git a/dwmblocks/dwmblocks.c b/dwmblocks/dwmblocks.c index 36b6a9a..1bd87f0 100644 --- a/dwmblocks/dwmblocks.c +++ b/dwmblocks/dwmblocks.c @@ -251,7 +251,7 @@ void sighandler() void buttonhandler(int ssi_int) { - char button[2] = {'0' + ssi_int & 0xff, '\0'}; + char button[2] = {('0' + ssi_int) & 0xff, '\0'}; pid_t process_id = getpid(); int sig = ssi_int >> 8; if (fork() == 0) -- cgit v1.2.3