comparing strings to random locations in memory is probably not what we wanted to do
Mikael Magnusson mikachu@comhem.se
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
openbox/client.c
→
openbox/client.c
@@ -639,7 +639,7 @@ ObAppSettings *settings = NULL;
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))