diff options
author | uint23 <[email protected]> | 2025-05-16 20:27:16 +0100 |
---|---|---|
committer | uint23 <[email protected]> | 2025-05-16 20:27:16 +0100 |
commit | 96a87bfadd7bee36c9a4dd7b1d0a3c9ce49714df (patch) | |
tree | e9dca578e56e9fa6f337be058c1d6271b3727cf5 | |
parent | 2f13c69e085564acaee5a3d3ced7341f71488595 (diff) |
fix return value for parse_col && remove debug symbol from make instructions
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/sxwm.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ CC ?= gcc -CFLAGS ?= -std=c99 -Wall -Wextra -O3 -Isrc -g +CFLAGS ?= -std=c99 -Wall -Wextra -O3 -Isrc LDFLAGS ?= -lX11 -lXinerama -lXcursor PREFIX ?= /usr/local @@ -1048,8 +1048,8 @@ long parse_col(const char *hex) return WhitePixel(dpy, DefaultScreen(dpy)); } - /* return col.pixel; */ - return col.pixel |= 0xff << 24; + /* return col.pixel |= 0xff << 24; */ + return col.pixel; } void quit(void) |