Commit 82568d02 authored by Christian Persch's avatar Christian Persch Committed by Christian Persch

Fir the patch from bug #504886 not to read unitialised memory.

2007-12-27  Christian Persch  <chpe@gnome.org>

	* gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
	bug #504886 not to read unitialised memory.

svn path=/trunk/; revision=19247
parent 17d37d51
2007-12-27 Christian Persch <chpe@gnome.org>
* gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
bug #504886 not to read unitialised memory.
2007-12-26 Xan Lopez <xan@gnome.org>
* gtk/gtkstatusbar.c (has_extra_children): take into account the
......
......@@ -684,7 +684,7 @@ init_randr12 (GdkScreen *screen)
return FALSE;
monitors = g_array_sized_new (FALSE, TRUE, sizeof (GdkX11Monitor),
monitors->len);
resources->noutput);
for (i = 0; i < resources->noutput; ++i)
{
......
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