summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-20 12:14:56 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-20 12:14:56 +0000
commit98a4c8130f56d4ebb0cbe7bd91bae8ec6b11cfba (patch)
treebe9b91962859ebd29be8572f1a5ace80c8259b0b /src/corelib
parent0e49b0dfcd4143988b7c5cd6094f821b709e36bd (diff)
downloadfpGUI-98a4c8130f56d4ebb0cbe7bd91bae8ec6b11cfba.tar.xz
* Minor GDI clipboard fix from Vladimir.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/gdi/gfx_gdi.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas
index d77c27c6..f5ce5d05 100644
--- a/src/corelib/gdi/gfx_gdi.pas
+++ b/src/corelib/gdi/gfx_gdi.pas
@@ -2004,7 +2004,7 @@ begin
GlobalUnlock(h);
end;
CloseClipboard;
- Result := FClipboardText;
+ Result := AnsiToUtf8(FClipboardText);
end;
procedure TfpgClipboardImpl.DoSetText(const AValue: string);