]> Dogcows Code - chaz/openbox/commitdiff
comparing strings to random locations in memory is probably not what we wanted to do
authorMikael Magnusson <mikachu@comhem.se>
Tue, 13 Mar 2007 12:34:58 +0000 (12:34 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Tue, 13 Mar 2007 12:34:58 +0000 (12:34 +0000)
openbox/client.c

index dc61deba21e7f332834faf15dddbdd908550f944..fbfc15b1ab4548f7af7eaa29073ecb55f00f478e 100644 (file)
@@ -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))
This page took 0.023682 seconds and 4 git commands to generate.