aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-05-20 13:57:37 +0000
committernyamatongwe <devnull@localhost>2001-05-20 13:57:37 +0000
commit2bc687427db2b41f3d5f7d93e0621b0406469b0b (patch)
tree6a49514d633cf93761ca4588d506bae9b817989f
parent46710d0638b0d214c0342907237095851eb82cd3 (diff)
downloadscintilla-mirror-2bc687427db2b41f3d5f7d93e0621b0406469b0b.tar.gz
Removed uncounted version of ReplaceTarget to allow
replace strings to contain nulls.
-rw-r--r--src/Editor.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index cf490c603..d10a8cee0 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3677,13 +3677,9 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_REPLACETARGET:
PLATFORM_ASSERT(lParam);
- return ReplaceTarget(wParam, reinterpret_cast<char *>(lParam));
-
- case SCI_REPLACETARGETCOUNTED:
- PLATFORM_ASSERT(lParam);
return ReplaceTarget(false, reinterpret_cast<char *>(lParam), wParam);
- case SCI_REPLACETARGETRECOUNTED:
+ case SCI_REPLACETARGETRE:
PLATFORM_ASSERT(lParam);
return ReplaceTarget(true, reinterpret_cast<char *>(lParam), wParam);