diff options
author | nyamatongwe <devnull@localhost> | 2001-04-05 01:58:04 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-04-05 01:58:04 +0000 |
commit | 529ea750b146c23bd1f8c0ec0b3bbeb64689a736 (patch) | |
tree | 7141531f889b0ffe3a3b262faa9ef8924fa17018 /win32/PlatWin.cxx | |
parent | a9318190f7318a86b272f23132126a45c8111dce (diff) | |
download | scintilla-mirror-529ea750b146c23bd1f8c0ec0b3bbeb64689a736.tar.gz |
Replace target functionality to make find and replace operations faster
by diminishing screen updates and allow for \d patterns in the replacement
text.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index c2967d2a5..90540baf6 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -696,7 +696,10 @@ void Window::SetTitle(const char *s) { } LRESULT Window::SendMessage(UINT msg, WPARAM wParam, LPARAM lParam) { - return ::SendMessage(id, msg, wParam, lParam); + if (id) + return ::SendMessage(id, msg, wParam, lParam); + else + return 0; } int Window::GetDlgCtrlID() { |