diff options
author | Hans Breuer <hans@breuer.org> | 2003-08-06 22:13:48 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2003-08-06 22:13:48 +0000 |
commit | 8bc4568fa8185773af6d7f387a28a72b629857ef (patch) | |
tree | 7f4162ba902a9f289b5e9ea66b81283cfb306f9f /gdk/win32/gdkpixmap-win32.c | |
parent | d3b962ce0f062310424712952fceab7c83e1e223 (diff) | |
download | gtk+-8bc4568fa8185773af6d7f387a28a72b629857ef.tar.gz |
initialize bits to 0 (probably default on NT)
2003-08-06 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :
initialize bits to 0 (probably default on NT)
now really ...
Diffstat (limited to 'gdk/win32/gdkpixmap-win32.c')
-rw-r--r-- | gdk/win32/gdkpixmap-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/win32/gdkpixmap-win32.c b/gdk/win32/gdkpixmap-win32.c index 05de4bb542..ebdc9f0bc1 100644 --- a/gdk/win32/gdkpixmap-win32.c +++ b/gdk/win32/gdkpixmap-win32.c @@ -304,7 +304,7 @@ gdk_pixmap_new (GdkDrawable *drawable, drawable_impl->handle = hbitmap; /* initialize */ - //memset (bits, 0, (bmi.bmiHeader.biBitCount * width * height) / 8); + memset (bits, 0, (bmi.bmiHeader.biBitCount * width * height) / 8); pixmap_impl->bits = bits; gdk_win32_handle_table_insert (&GDK_PIXMAP_HBITMAP (pixmap), pixmap); |