(set_clipboard_data): Terminate the text with a null
authorEli Zaretskii <eliz@gnu.org>
Wed, 6 Jan 1999 10:14:25 +0000 (10:14 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 6 Jan 1999 10:14:25 +0000 (10:14 +0000)
commit0265f89f7c2bdc2159338d71785ccb995872fa54
tree6b7ad94634719b96786aa6cdaec8abf6bf66803e
parent1787769bcc30584809916593e35412771f39043a
(set_clipboard_data): Terminate the text with a null
character.  Don't allow to put binary data into the clipboard.
Return zero in case of success, 1 or 2 otherwise.
(get_clipboard_data): Only bail out if the null character is in
the last 32-byte chunk of clipboard data
(Fw16_set_clipboard_data): Make ok and put_status be unsigned.  If
they save binary data, print a message in the echo area saying the
text was not put into the clipboard.
src/w16select.c