X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=82e51f4b04c3787b27255c7c7c443b030a63d6e3;hb=6adb3d44544f0c740b63b07d2f9cfb9a1a83814a;hp=e9d0ce1a67d1e06f211083e059561dd95e1ea6f7;hpb=a822cbe13b18eca60b220b9b312210c02b946a3b;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index e9d0ce1a..82e51f4b 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -432,7 +432,7 @@ void screen_update_struts() g_free(strut); strut = g_new0(Strut, screen_num_desktops + 1); - for (it = client_list; it; it = it->next) { + for (it = client_list; it != NULL; it = it->next) { Client *c = it->data; if (c->iconic) continue; /* these dont count in the strut */