diff options
author | nyamatongwe <devnull@localhost> | 2002-07-05 12:59:26 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-07-05 12:59:26 +0000 |
commit | 9b321eb66b6d0d0c39f81dc0f3525cb933562e17 (patch) | |
tree | 3be6521a359700756c1a357db5f8368802847a3e /src | |
parent | 9e6c48115298f3e2f7654764984559c19c18634e (diff) | |
download | scintilla-mirror-9b321eb66b6d0d0c39f81dc0f3525cb933562e17.tar.gz |
Take no action for SCI_GETTEXT with wParam == 0.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index aa05775de..cc7b1b40d 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4137,6 +4137,8 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { { if (lParam == 0) return 0; + if (wParam == 0) + return 0; char *ptr = CharPtrFromSPtr(lParam); unsigned int iChar = 0; for (; iChar < wParam - 1; iChar++) |