BPicture is obviously not text data, should be image/ supertype!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25371 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -475,7 +475,7 @@ SudokuView::CopyToClipboard()
|
|||||||
|
|
||||||
// flattened BPicture, anyone handles that ?
|
// flattened BPicture, anyone handles that ?
|
||||||
if (SaveTo(mio, kExportAsPicture) >= B_OK) {
|
if (SaveTo(mio, kExportAsPicture) >= B_OK) {
|
||||||
clip->AddData("text/x-vnd.Be-picture", B_MIME_TYPE, mio.Buffer(), mio.BufferLength());
|
clip->AddData("image/x-vnd.Be-picture", B_MIME_TYPE, mio.Buffer(), mio.BufferLength());
|
||||||
|
|
||||||
}
|
}
|
||||||
mio.SetSize(0LL);
|
mio.SetSize(0LL);
|
||||||
|
|||||||
Reference in New Issue
Block a user