diff options
author | Morten Welinder <terra@gnome.org> | 2003-07-11 17:32:49 +0000 |
---|---|---|
committer | Morten Welinder <mortenw@src.gnome.org> | 2003-07-11 17:32:49 +0000 |
commit | 469f6e87a594ec9a0e86c3fcf135b3a70e015831 (patch) | |
tree | e57fc24fdf73e968bd3dd978cb5170ce7affb837 /gdk/x11 | |
parent | b05ee303e7bad24fd10b3ad099fd0b92c6e7c55c (diff) | |
download | gtk+-469f6e87a594ec9a0e86c3fcf135b3a70e015831.tar.gz |
Fix memory access error. (#69436)
2003-07-11 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
access error. (#69436)
Diffstat (limited to 'gdk/x11')
-rw-r--r-- | gdk/x11/gdkcursor-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c index d872709191..db41e3bedb 100644 --- a/gdk/x11/gdkcursor-x11.c +++ b/gdk/x11/gdkcursor-x11.c @@ -515,7 +515,7 @@ gdk_cursor_new_from_pixbuf (GdkDisplay *display, *md |= 1 << (i % 8); src += n_channels; - if (i % 8 == 0) + if (i % 8 == 7) { d++; md++; |