summaryrefslogtreecommitdiffstats
path: root/win/tkWinClipboard.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-29 16:08:12 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-29 16:08:12 (GMT)
commit5f9bf4fde729afc768b4c4b30fa778dc6f637605 (patch)
tree7dae4b8708bb19be78dd5daaafe941d7d5b6128b /win/tkWinClipboard.c
parent5be70aeb76c7c6ba94c9288632ddf1c094108f0e (diff)
parentbc6a00f386a42a918f7ea3907a7899419680c3d4 (diff)
downloadtk-5f9bf4fde729afc768b4c4b30fa778dc6f637605.zip
tk-5f9bf4fde729afc768b4c4b30fa778dc6f637605.tar.gz
tk-5f9bf4fde729afc768b4c4b30fa778dc6f637605.tar.bz2
Merge core-8-6-branch
Diffstat (limited to 'win/tkWinClipboard.c')
-rw-r--r--win/tkWinClipboard.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/win/tkWinClipboard.c b/win/tkWinClipboard.c
index 200883f..929070b 100644
--- a/win/tkWinClipboard.c
+++ b/win/tkWinClipboard.c
@@ -414,16 +414,7 @@ UpdateClipboard(
OpenClipboard(hwnd);
EmptyClipboard();
- /*
- * CF_UNICODETEXT is only supported on NT, but it it is prefered when
- * possible.
- */
-
- if (TkWinGetPlatformId() != VER_PLATFORM_WIN32_WINDOWS) {
- SetClipboardData(CF_UNICODETEXT, NULL);
- } else {
- SetClipboardData(CF_TEXT, NULL);
- }
+ SetClipboardData(CF_UNICODETEXT, NULL);
CloseClipboard();
TkWinUpdatingClipboard(FALSE);
}