From 497a1925ecc0550630ba44f29d2db7378e7c9e4e Mon Sep 17 00:00:00 2001 From: Jan Djärv Date: Sat, 29 Jan 2011 12:30:11 +0100 Subject: Handle nul-character in copy/paste (Bug#7934). * nsselect.m (ns_string_from_pasteboard): Get length of string and use make_string instead of build_string. (ns_string_to_pasteboard_internal): Use initWithBytesNoCopy instead of stringWithUTF8String (Bug#7934). --- src/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ChangeLog') diff --git a/src/ChangeLog b/src/ChangeLog index f8686529221..340ca37aae4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2011-01-29 Jan Djärv + + * nsselect.m (ns_string_from_pasteboard): Get length of string + and use make_string instead of build_string (Bug#7934). + (ns_string_to_pasteboard_internal): Use initWithBytesNoCopy + instead of stringWithUTF8String (Bug#7934). + 2011-01-29 Anders Lindgren (tiny change) * nsfont.m (nsfont_open): Ensure that fonts with inexact -- cgit v1.3