diff options
| author | George Hazan <ghazan@miranda.im> | 2022-09-26 19:27:33 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2022-09-26 19:27:33 +0300 |
| commit | 35f6abcc7f069b3f239215842ec049c716f9b758 (patch) | |
| tree | ca1d7ff100fd15236abdfce4639a606769fe5944 /include | |
| parent | c5dc28ec2272a865ef2f28fd7ab151b55517fedf (diff) | |
code cleaning
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_utils.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/m_utils.h b/include/m_utils.h index 7f880efcdd..f9cb7e42cd 100644 --- a/include/m_utils.h +++ b/include/m_utils.h @@ -53,7 +53,12 @@ EXTERN_C MIR_CORE_DLL(void) Utils_OpenUrlW(const wchar_t *pszUrl, bool bOpenInNe /////////////////////////////////////////////////////////////////////////////////////////
// copies a string into clipboard
-EXTERN_C MIR_CORE_DLL(void) Utils_ClipboardCopy(const wchar_t *pszText);
+MIR_CORE_DLL(void) Utils_ClipboardCopy(const char *pszText);
+MIR_CORE_DLL(void) Utils_ClipboardCopy(const wchar_t *pszText);
+
+__forceinline void Utils_ClipboardCopyU(const char *p)
+{ Utils_ClipboardCopy(Utf2T(p));
+}
/////////////////////////////////////////////////////////////////////////////////////////
// Resizes a dialog by calling a custom routine to move the individual
|
