mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Bug 523554 - Copy from GIMP to Word broken
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 Windows Clipboard was for some unknown reason truncated by one byte. Don't do that. svn path=/trunk/; revision=22086
This commit is contained in:
parent
b87add630e
commit
bb56a0a119
@ -1,3 +1,12 @@
|
||||
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
|
||||
Windows Clipboard was for some unknown reason truncated by one
|
||||
byte. Don't do that.
|
||||
|
||||
2009-01-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 567024 – gtktoolbutton doesn't create right proxy menu item
|
||||
|
@ -1175,7 +1175,7 @@ _gdk_win32_selection_convert_to_dib (HGLOBAL hdata,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user