After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163232 - Bad handling of paste under Windows
Bad handling of paste under Windows
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.4.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-01-07 14:13 UTC by Arnaud Charlet
Modified: 2005-01-07 14:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arnaud Charlet 2005-01-07 14:13:25 UTC
Doing a copy/paste inside a gtktextview under Win32 will sometimes fail to
paste the text properly.

This is due to a logic error in gdk/win32/gdkselection-win32.c, function
_gdk_selection_property_store:

prop->length = strlen (prop->data + 1);

instead of

prop->length = strlen (prop->data) + 1;

I love C...

Arno
Comment 1 Tor Lillqvist 2005-01-07 14:38:21 UTC
Blush. Fixed in HEAD and gtk-2-4.