diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-09 10:19:46 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-09 10:19:46 +0900 |
| commit | b9d337f3c0ca2501744a1bb12b9bd6d3929c692c (patch) | |
| tree | dd312fea6046764464b93cb3464b9b260bb3062f /dwmblocks/dwmblocks.c | |
| parent | 0bbc6ee96491c8f9619148018214427d8ca026b4 (diff) | |
updates
Diffstat (limited to 'dwmblocks/dwmblocks.c')
| -rw-r--r-- | dwmblocks/dwmblocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
