summaryrefslogtreecommitdiff
path: root/hw/xwin/winclipboardxevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winclipboardxevents.c')
-rw-r--r--hw/xwin/winclipboardxevents.c18
1 files changed, 4 insertions, 14 deletions
diff --git a/hw/xwin/winclipboardxevents.c b/hw/xwin/winclipboardxevents.c
index e3fae7b03..6e9aaaff2 100644
--- a/hw/xwin/winclipboardxevents.c
+++ b/hw/xwin/winclipboardxevents.c
@@ -38,13 +38,6 @@
/*
- * References to external symbols
- */
-
-extern Bool g_fUnicodeSupport;
-
-
-/*
* Process any pending X events
*/
@@ -246,10 +239,6 @@ winClipboardFlushXEvents (HWND hwnd,
else
xiccesStyle = XStringStyle;
- /*
- * FIXME: Can't pass CF_UNICODETEXT on Windows 95/98/Me
- */
-
/* Get a pointer to the clipboard text, in desired format */
if (fUseUnicode)
{
@@ -782,10 +771,11 @@ winClipboardFlushXEvents (HWND hwnd,
free(pwszUnicodeStr);
if (hGlobal && pszGlobalData)
GlobalUnlock (hGlobal);
- if (fSetClipboardData && g_fUnicodeSupport)
- SetClipboardData (CF_UNICODETEXT, NULL);
if (fSetClipboardData)
- SetClipboardData (CF_TEXT, NULL);
+ {
+ SetClipboardData (CF_UNICODETEXT, NULL);
+ SetClipboardData (CF_TEXT, NULL);
+ }
return WIN_XEVENTS_NOTIFY;
case SelectionClear: