]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
add const and inline checks for the compiler
[chaz/openbox] / openbox / screen.c
index e9d0ce1a67d1e06f211083e059561dd95e1ea6f7..82e51f4b04c3787b27255c7c7c443b030a63d6e3 100644 (file)
@@ -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 */
     
This page took 0.019661 seconds and 4 git commands to generate.