XIF is now being put into the transferable as double byte

This commit is contained in:
rods%netscape.com 1999-07-16 14:20:59 +00:00
parent 5da5b3df1d
commit 07dc39f2d3
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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);