From 70b0ca391013bb7d5af0279c6e78902476bf898a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 12 Jun 2010 17:55:52 +0000 Subject: [PATCH] ShowImage no longer uses the weird direct bitmap storage in the clipboard. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37121 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/sudoku/SudokuView.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/apps/sudoku/SudokuView.cpp b/src/apps/sudoku/SudokuView.cpp index 984cf084ae..a8a3bc45a7 100644 --- a/src/apps/sudoku/SudokuView.cpp +++ b/src/apps/sudoku/SudokuView.cpp @@ -480,9 +480,7 @@ SudokuView::CopyToClipboard() // first as bitmap as we need to archive to the message if (SaveTo(mio, kExportAsBitmap) >= B_OK) { mio.Seek(0LL, SEEK_SET); - // ShowImage wants this... nasty - clip->Unflatten(&mio); - // ArtPaint uses that + // ShowImage, ArtPaint & WonderBrush use that clip->AddData("image/bitmap", B_MESSAGE_TYPE, mio.Buffer(), mio.BufferLength()); // Becasso uses that ? clip->AddData("image/x-be-bitmap", B_MESSAGE_TYPE, mio.Buffer(), mio.BufferLength());