mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 04:16:16 +00:00
XIF is now being put into the transferable as double byte
This commit is contained in:
parent
5da5b3df1d
commit
07dc39f2d3
@ -1631,7 +1631,8 @@ PresShell::DoCopy()
|
||||
trans->SetConverter(xifConverter);
|
||||
|
||||
// Now add the XIF data to the transferable
|
||||
trans->SetTransferData(&flavor, buffer.ToNewCString(), buffer.Length());
|
||||
trans->SetTransferData(&flavor, buffer.ToNewUnicode(), buffer.Length());
|
||||
//trans->SetTransferData(&flavor, buffer.ToNewCString(), buffer.Length());
|
||||
|
||||
// put the transferable on the clipboard
|
||||
clipboard->SetData(trans, nsnull);
|
||||
|
@ -1631,7 +1631,8 @@ PresShell::DoCopy()
|
||||
trans->SetConverter(xifConverter);
|
||||
|
||||
// Now add the XIF data to the transferable
|
||||
trans->SetTransferData(&flavor, buffer.ToNewCString(), buffer.Length());
|
||||
trans->SetTransferData(&flavor, buffer.ToNewUnicode(), buffer.Length());
|
||||
//trans->SetTransferData(&flavor, buffer.ToNewCString(), buffer.Length());
|
||||
|
||||
// put the transferable on the clipboard
|
||||
clipboard->SetData(trans, nsnull);
|
||||
|
Loading…
Reference in New Issue
Block a user