summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-22 13:18:45 +0000
committerDana Jansens <danakj@orodu.net>2003-03-22 13:18:45 +0000
commita5b371cfe73084236223ae8f3755d1a286f780ea (patch)
tree337c41584179be52626dc76b08ac91f6bcdf714a /openbox/screen.c
parent9b514b3b6165c80cfe7152c2088a97765f6c82f4 (diff)
blef
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c2
1 files changed, 1 insertions, 1 deletions
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 */