gtk+ r22085 - in branches/gtk-2-14: . gdk/win32
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22085 - in branches/gtk-2-14: . gdk/win32
- Date: Sun, 11 Jan 2009 13:19:45 +0000 (UTC)
Author: tml
Date: Sun Jan 11 13:19:45 2009
New Revision: 22085
URL: http://svn.gnome.org/viewvc/gtk+?rev=22085&view=rev
Log:
2009-01-11 Tor Lillqvist <tml iki fi>
Bug 523554 - Copy from GIMP to Word broken
* gdk/win32/gdkselection-win32.c
(_gdk_win32_selection_convert_to_dib): The DIB stored in the
clipboard was for some unknown reason truncated by one byte. Don't
do that.
Modified:
branches/gtk-2-14/ChangeLog
branches/gtk-2-14/gdk/win32/gdkselection-win32.c
Modified: branches/gtk-2-14/gdk/win32/gdkselection-win32.c
==============================================================================
--- branches/gtk-2-14/gdk/win32/gdkselection-win32.c (original)
+++ branches/gtk-2-14/gdk/win32/gdkselection-win32.c Sun Jan 11 13:19:45 2009
@@ -1175,7 +1175,7 @@
HGLOBAL hdatanew;
g_free (target_name);
- size = GlobalSize (hdata) - 1 - sizeof (BITMAPFILEHEADER);
+ size = GlobalSize (hdata) - sizeof (BITMAPFILEHEADER);
ptr = GlobalLock (hdata);
memmove (ptr, ptr + sizeof (BITMAPFILEHEADER), size);
GlobalUnlock (hdata);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]