summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkpixmap-win32.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2003-08-06 22:13:48 +0000
committerHans Breuer <hans@src.gnome.org>2003-08-06 22:13:48 +0000
commit8bc4568fa8185773af6d7f387a28a72b629857ef (patch)
tree7f4162ba902a9f289b5e9ea66b81283cfb306f9f /gdk/win32/gdkpixmap-win32.c
parentd3b962ce0f062310424712952fceab7c83e1e223 (diff)
downloadgtk+-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.c2
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);