Displaying 2 results from an estimated 2 matches for "hglb".
Did you mean:
glb
2019 May 23
2
writing Unicode text to the Windows clipboard
....c
b/src/library/utils/src/windows/util.c
index 373049495dd..fc3dc39e3a7 100644
--- a/src/library/utils/src/windows/util.c
+++ b/src/library/utils/src/windows/util.c
@@ -318,7 +318,7 @@ SEXP writeClipboard(SEXP text, SEXP sformat)
warning(_("unable to open the clipboard"));
GlobalFree(hglb);
} else {
- success = SetClipboardData(CF_TEXT, hglb) != 0;
+ success = SetClipboardData(format, hglb) != 0;
if(!success) {
warning(_("unable to write to the clipboard"));
GlobalFree(hglb);
Example:
"?" is "GREATER-THAN OVER EQUAL TO", which is u...
2019 May 24
0
writing Unicode text to the Windows clipboard
....c
b/src/library/utils/src/windows/util.c
index 373049495dd..fc3dc39e3a7 100644
--- a/src/library/utils/src/windows/util.c
+++ b/src/library/utils/src/windows/util.c
@@ -318,7 +318,7 @@ SEXP writeClipboard(SEXP text, SEXP sformat)
warning(_("unable to open the clipboard"));
GlobalFree(hglb);
} else {
- success = SetClipboardData(CF_TEXT, hglb) != 0;
+ success = SetClipboardData(format, hglb) != 0;
if(!success) {
warning(_("unable to write to the clipboard"));
GlobalFree(hglb);
Example:
"?" is "GREATER-THAN OVER EQUAL TO", which is u...