зеркало из https://github.com/mozilla/gecko-dev.git
XIF is now being put into the transferable as double byte
This commit is contained in:
Родитель
5da5b3df1d
Коммит
07dc39f2d3
|
@ -1631,7 +1631,8 @@ PresShell::DoCopy()
|
||||||
trans->SetConverter(xifConverter);
|
trans->SetConverter(xifConverter);
|
||||||
|
|
||||||
// Now add the XIF data to the transferable
|
// 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
|
// put the transferable on the clipboard
|
||||||
clipboard->SetData(trans, nsnull);
|
clipboard->SetData(trans, nsnull);
|
||||||
|
|
|
@ -1631,7 +1631,8 @@ PresShell::DoCopy()
|
||||||
trans->SetConverter(xifConverter);
|
trans->SetConverter(xifConverter);
|
||||||
|
|
||||||
// Now add the XIF data to the transferable
|
// 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
|
// put the transferable on the clipboard
|
||||||
clipboard->SetData(trans, nsnull);
|
clipboard->SetData(trans, nsnull);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче