mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Linux: Fixed a UTF-8 conversion issue in the system clipboard code
This commit is contained in:
parent
e92749e7ca
commit
00ed43e29a
1 changed files with 1 additions and 1 deletions
|
|
@ -1155,7 +1155,7 @@ namespace ClipboardHelpers
|
|||
|
||||
// translate to utf8
|
||||
numDataItems = localContent.getNumBytesAsUTF8() + 1;
|
||||
data.calloc (numDataItems + 1);
|
||||
data.calloc (numDataItems);
|
||||
localContent.copyToUTF8 (data, numDataItems);
|
||||
propertyFormat = 8; // bits/item
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue