refactor(new_editor): snapshot hosted editor restructuring
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "Platform/Win32/Win32SystemInteractionHost.h"
|
||||
|
||||
#include "Internal/StringEncoding.h"
|
||||
#include "Support/StringEncoding.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <shellapi.h>
|
||||
@@ -26,7 +26,7 @@ bool Win32SystemInteractionHost::CopyTextToClipboard(std::string_view text) {
|
||||
}
|
||||
|
||||
const std::wstring wideText =
|
||||
App::Internal::Utf8ToWide(std::string(text));
|
||||
App::Utf8ToWide(std::string(text));
|
||||
const std::size_t byteCount =
|
||||
(wideText.size() + 1u) * sizeof(wchar_t);
|
||||
if (!OpenClipboard(nullptr)) {
|
||||
|
||||
Reference in New Issue
Block a user