commit 25a28a61a39d87317766fa980c55fbe4f1bf3d6e
parent 6a5561cd76d7a6ee6e33de46d405b44d2baf1743
Author: Bakkeby <bakkeby@gmail.com>
Date: Wed, 13 Mar 2024 11:56:11 +0100
netwmicon_ff - increase buffer size to 16
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/patch/netwmicon_ff.c b/patch/netwmicon_ff.c
@@ -4,7 +4,7 @@ setnetwmicon(void)
/* use a farbfeld image to set _NET_WM_ICON */
FILE* file = fopen(ICON, "r");
if (file) {
- unsigned char buf[8] = {0};
+ unsigned char buf[16] = {0};
int hasdata = fread(buf,1,16,file);
if (memcmp(buf,"farbfeld",8)) {