From: Mikael Magnusson Date: Tue, 13 Mar 2007 12:34:58 +0000 (+0000) Subject: comparing strings to random locations in memory is probably not what we wanted to do X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=53109b7592500b71f8c670ea58b0182193ba9a71;p=chaz%2Fopenbox comparing strings to random locations in memory is probably not what we wanted to do --- 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))