diff --git a/src/apps/diskprobe/FindWindow.cpp b/src/apps/diskprobe/FindWindow.cpp index b5df9dec63..3c157cc71e 100644 --- a/src/apps/diskprobe/FindWindow.cpp +++ b/src/apps/diskprobe/FindWindow.cpp @@ -1,5 +1,6 @@ /* * Copyright 2004-2009, Axel Dörfler, axeld@pinc-software.de. + * Copyright 2009, Philippe St-Pierre, stpere@gmail.com * Distributed under the terms of the MIT License. */ @@ -331,10 +332,10 @@ FindTextView::Paste(BClipboard* clipboard) if (_GetHexFromData(data, dataSize, &hex, &hexSize) < B_OK) return; - SetText(hex, hexSize); + Insert(hex, hexSize); free(hex); } else - SetText((char*)data, dataSize); + Insert((char*)data, dataSize); return; }