summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xoptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.cpp b/options.cpp
index 0371caf..440e1be 100755
--- a/options.cpp
+++ b/options.cpp
@@ -365,7 +365,7 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
szKey = mir_strdup(str.c_str());
str.clear();
EmptyClipboard();
- if(!SetClipboardData(CF_OEMTEXT, szKey))
+ if(!SetClipboardData(CF_TEXT, szKey))
{
mir_free(szKey);
MessageBoxA(0, "Error", "Failed to write to clipboard", MB_OK);