From 179c922ef0a77656fa4c2f49c17341de5b4facf0 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 6 Apr 2021 08:52:28 +1000 Subject: Explicit wide call to prevent fail if built in different Unicode mode on Win32. --- gtk/ScintillaGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index e492c9ede..e98811ad9 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -198,7 +198,7 @@ ScintillaGTK::ScintillaGTK(_ScintillaObject *sci_) : // There does not seem to be a real standard for indicating that the clipboard // contains a rectangular selection, so copy Developer Studio. cfColumnSelect = static_cast( - ::RegisterClipboardFormat("MSDEVColumnSelect")); + ::RegisterClipboardFormatW(L"MSDEVColumnSelect")); // Get intellimouse parameters when running on win32; otherwise use // reasonable default -- cgit v1.2.3