summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-03-13 12:34:58 +0000
committerMikael Magnusson <mikachu@comhem.se>2007-03-13 12:34:58 +0000
commit53109b7592500b71f8c670ea58b0182193ba9a71 (patch)
treee0370af2fd710ea3bbde1f3aa54286384a47a932 /openbox
parenta9910e520b1e5a7020ca8df0f2a7d0d0d48e2857 (diff)
comparing strings to random locations in memory is probably not what we wanted to do
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index dc61deba..fbfc15b1 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -639,7 +639,7 @@ static ObAppSettings *client_get_settings_state(ObClient *self)
GSList *it;
for (it = config_per_app_settings; it; it = g_slist_next(it)) {
- ObAppSettings *app;
+ ObAppSettings *app = it->data;
if ((app->name && !app->class && !strcmp(app->name, self->name))
|| (app->class && !app->name && !strcmp(app->class, self->class))