diff --git a/patch/netwmicon_ff.c b/patch/netwmicon_ff.c index 117ae03..3bb9ed9 100644 --- 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)) {