aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-04-06 08:52:28 +1000
committerNeil <nyamatongwe@gmail.com>2021-04-06 08:52:28 +1000
commit179c922ef0a77656fa4c2f49c17341de5b4facf0 (patch)
tree4aae8ad29735649cc73b6b1e95dbd5e371f01a25 /gtk/ScintillaGTK.cxx
parentf7b99ebcdd17f2d2d23a83f8498470f467eab63a (diff)
downloadscintilla-mirror-179c922ef0a77656fa4c2f49c17341de5b4facf0.tar.gz
Explicit wide call to prevent fail if built in different Unicode mode on Win32.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rwxr-xr-xgtk/ScintillaGTK.cxx2
1 files changed, 1 insertions, 1 deletions
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<CLIPFORMAT>(
- ::RegisterClipboardFormat("MSDEVColumnSelect"));
+ ::RegisterClipboardFormatW(L"MSDEVColumnSelect"));
// Get intellimouse parameters when running on win32; otherwise use
// reasonable default