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
Родитель 5da5b3df1d
Коммит 07dc39f2d3
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

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