summaryrefslogtreecommitdiffstats
path: root/rfb_win32
diff options
context:
space:
mode:
Diffstat (limited to 'rfb_win32')
-rw-r--r--rfb_win32/Clipboard.cxx4
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