diff options
author | Peter Åstrand <astrand@cendio.se> | 2005-06-27 11:25:10 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2005-06-27 11:25:10 +0000 |
commit | c5721f516a2bd992030662a3d0ac9cb84f641617 (patch) | |
tree | 9a27bf57bbd90abda697684154322f72e0b51c14 /rfb_win32 | |
parent | 2e38749821caf6894343b4c3d839c922d20ae46d (diff) | |
download | tigervnc-c5721f516a2bd992030662a3d0ac9cb84f641617.tar.gz tigervnc-c5721f516a2bd992030662a3d0ac9cb84f641617.zip |
Comment out calls to removeNonAsciiChars. This makes it possible to
copy-paste non-ascii characters.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@297 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'rfb_win32')
-rw-r--r-- | rfb_win32/Clipboard.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rfb_win32/Clipboard.cxx b/rfb_win32/Clipboard.cxx index 96d1e942..867f885d 100644 --- a/rfb_win32/Clipboard.cxx +++ b/rfb_win32/Clipboard.cxx @@ -126,7 +126,7 @@ Clipboard::processMessage(UINT msg, WPARAM wParam, LPARAM lParam) { } else { CharArray unix_text; unix_text.buf = dos2unix(clipdata); - removeNonAsciiChars(unix_text.buf); + // removeNonAsciiChars(unix_text.buf); notifier->notifyClipboardChanged(unix_text.buf, strlen(unix_text.buf)); } } else { @@ -162,7 +162,7 @@ Clipboard::setClipText(const char* text) { // - Pre-process the supplied clipboard text into DOS format CharArray dos_text; dos_text.buf = unix2dos(text); - removeNonAsciiChars(dos_text.buf); + // removeNonAsciiChars(dos_text.buf); int dos_text_len = strlen(dos_text.buf); // - Allocate global memory for the data |