Author: stippi Date: 2010-06-12 19:55:52 +0200 (Sat, 12 Jun 2010) New Revision: 37121 Changeset: http://dev.haiku-os.org/changeset/37121/haiku Modified: haiku/trunk/src/apps/sudoku/SudokuView.cpp Log: ShowImage no longer uses the weird direct bitmap storage in the clipboard. Modified: haiku/trunk/src/apps/sudoku/SudokuView.cpp =================================================================== --- haiku/trunk/src/apps/sudoku/SudokuView.cpp 2010-06-12 17:47:47 UTC (rev 37120) +++ haiku/trunk/src/apps/sudoku/SudokuView.cpp 2010-06-12 17:55:52 UTC (rev 37121) @@ -480,9 +480,7 @@ // 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());