diff options
Diffstat (limited to 'plugins/YAMN/src/browser/mailbrowser.cpp')
-rw-r--r-- | plugins/YAMN/src/browser/mailbrowser.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/YAMN/src/browser/mailbrowser.cpp b/plugins/YAMN/src/browser/mailbrowser.cpp index cdbb4e2d3c..0a79b2be62 100644 --- a/plugins/YAMN/src/browser/mailbrowser.cpp +++ b/plugins/YAMN/src/browser/mailbrowser.cpp @@ -1624,11 +1624,9 @@ INT_PTR CALLBACK DlgProcYAMNShowMessage(HWND hDlg,UINT msg,WPARAM wParam,LPARAM else courPos += _stprintf( &buff[courPos], _T("\t%s\r\n"), headvalue);
}
GlobalUnlock(hData);
-#if defined( _UNICODE )
+
SetClipboardData(CF_UNICODETEXT,hData);
-#else
- SetClipboardData(CF_TEXT,hData);
-#endif
+
CloseClipboard();
}
}
@@ -2411,11 +2409,9 @@ INT_PTR CALLBACK DlgProcYAMNMailBrowser(HWND hDlg,UINT msg,WPARAM wParam,LPARAM courPos += _stprintf(&buff[courPos], _T("%s\t%s\t%s\t%s\r\n"), from, subject, size, date);
}
GlobalUnlock(hData);
-#if defined( _UNICODE )
+
SetClipboardData(CF_UNICODETEXT,hData);
-#else
- SetClipboardData(CF_TEXT,hData);
-#endif
+
CloseClipboard();
}
}
|