also dont increment the nicons if the w*h is 0

This commit is contained in:
Dana Jansens 2003-06-02 23:16:50 +00:00
parent 754391ea4d
commit 5a8c164412

View file

@ -1322,7 +1322,7 @@ void client_update_icons(Client *self)
w = data[i++];
h = data[i++];
i += w * h;
if (i > num) break;
if (i > num || w*h == 0) break;
++self->nicons;
}