Commit 81cc78d1 authored by Paolo Borelli's avatar Paolo Borelli

fix thinko in latest committ

parent f7b317ac
......@@ -180,10 +180,11 @@ display_open_if_needed (const gchar *name)
for (l = displays; l != NULL; l = l->next)
{
display = l->data;
if (strcmp (gdk_display_get_name (display), name) == 0)
if (strcmp (gdk_display_get_name ((GdkDisplay *) l->data), name) == 0)
{
display = l->data;
break;
}
}
g_slist_free (displays);
......@@ -579,3 +580,4 @@ main (int argc, char *argv[])
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment