summaryrefslogtreecommitdiff
path: root/include/m_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_utils.h')
-rw-r--r--include/m_utils.h7
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