summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-23 19:57:58 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-23 19:57:58 +0300
commitdc597d70cef7202480eae6708e2142148e09356f (patch)
tree459e171a2e8a5bb2def7d7aea67fb769aa224bb2 /src/mir_app
parent349ff91be06644a8b611ecf6a39ce0ac1bcde86a (diff)
clipboard copy function is able now to copy in multiple formats at a time
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/file.h2
-rw-r--r--src/mir_app/src/srmm_log_rtf.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/file.h b/src/mir_app/src/file.h
index 01b7b47fab..677222615e 100644
--- a/src/mir_app/src/file.h
+++ b/src/mir_app/src/file.h
@@ -145,7 +145,7 @@ struct OFD_CopyUrl : public OFD_Callback
void Invoke(const OFDTHREAD &ofd) override
{
- Utils_ClipboardCopy(ofd.wszPath.IsEmpty() ? wszUrl : ofd.wszPath);
+ Utils_ClipboardCopy(MClipUnicode(ofd.wszPath.IsEmpty() ? wszUrl : ofd.wszPath));
}
};
diff --git a/src/mir_app/src/srmm_log_rtf.cpp b/src/mir_app/src/srmm_log_rtf.cpp
index 6b81c438d0..709d173c74 100644
--- a/src/mir_app/src/srmm_log_rtf.cpp
+++ b/src/mir_app/src/srmm_log_rtf.cpp
@@ -278,7 +278,7 @@ INT_PTR CRtfLogWindow::Notify(WPARAM, LPARAM lParam)
break;
case IDM_COPYLINK:
- Utils_ClipboardCopy(wszText);
+ Utils_ClipboardCopy(MClipUnicode(wszText));
break;
}