diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-27 11:53:11 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-27 11:53:11 +0000 |
commit | 460d7e9925b4623639d4c6e8505ee8376b133d61 (patch) | |
tree | 5498033440abb4ee2e23ca681c65d7c33dd47f6a /src/corelib | |
parent | fd6e57484ec8a71e1eb7353ffb1cc27833f6e49d (diff) | |
download | fpGUI-460d7e9925b4623639d4c6e8505ee8376b133d61.tar.xz |
* Minor clipboard patch for GDI by Vladimir.
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/gdi/gfx_gdi.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas index 3ffe7c36..b9211a63 100644 --- a/src/corelib/gdi/gfx_gdi.pas +++ b/src/corelib/gdi/gfx_gdi.pas @@ -1978,9 +1978,10 @@ begin inc(p); end; GlobalUnlock(h); + FClipboardText := AnsiToUtf8(FClipboardText); end; CloseClipboard; - Result := AnsiToUtf8(FClipboardText); + Result := FClipboardText; end; procedure TfpgClipboardImpl.DoSetText(const AValue: string); |