mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Fixing bug 26468, gtk clipboard regression with plain text. Forgot to set the flavor when doing conversion to unicode from text/plain. doh! r=akkana
This commit is contained in:
parent
7384e01bca
commit
584cebb54d
@ -567,6 +567,7 @@ nsClipboard::GetNativeClipboardData(nsITransferable * aTransferable)
|
||||
nsAllocator::Free(mSelectionData.data);
|
||||
mSelectionData.data = NS_REINTERPRET_CAST(guchar*, convertedText);
|
||||
mSelectionData.length = convertedTextLen * 2;
|
||||
foundFlavor = kUnicodeMime;
|
||||
foundData = PR_TRUE;
|
||||
}
|
||||
} // if plain text data on clipboard
|
||||
|
Loading…
Reference in New Issue
Block a user