diff options
author | nyamatongwe <unknown> | 2013-05-07 19:54:09 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-05-07 19:54:09 +1000 |
commit | 15af12d8b2a31b4f20afd18356672543ad528cf5 (patch) | |
tree | 9c3abfd20daeff37327abe52cbd13877250256e9 /src/Editor.cxx | |
parent | 4eaffb9f1c2212023e8ccf7cc3e1499aa6b5edb0 (diff) | |
download | scintilla-mirror-15af12d8b2a31b4f20afd18356672543ad528cf5.tar.gz |
Replace X.data() with &X[0] to allow building with old releases of Visual C++.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 63deb701a..6c2197312 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6057,7 +6057,7 @@ void Editor::CopySelectionRange(SelectionText *ss, bool allowLineCopy) { } } text[size] = '\0'; - ss->Copy(text.data(), static_cast<int>(size + 1), pdoc->dbcsCodePage, + ss->Copy(&text[0], static_cast<int>(size + 1), pdoc->dbcsCodePage, vs.styles[STYLE_DEFAULT].characterSet, sel.IsRectangular(), sel.selType == Selection::selLines); } } |