diff options
author | nyamatongwe <unknown> | 2001-08-14 02:47:25 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-08-14 02:47:25 +0000 |
commit | 23186be00be5e7b8e8a66ef13f5025e6e7b07fc5 (patch) | |
tree | ddb9cc8395e06d7bbf040fc88bddf2f08f98835d | |
parent | c391d3603037d9866295e5d797b3fd6a89b39527 (diff) | |
download | scintilla-mirror-23186be00be5e7b8e8a66ef13f5025e6e7b07fc5.tar.gz |
Fixed typos in comments.
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 702c6dc9a..ac8cb850c 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3678,7 +3678,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { char *ptr = reinterpret_cast<char *>(lParam); short *pBufSize = reinterpret_cast<short *>(lParam); short bufSize = *pBufSize; - ptr[0] = '\0'; // If no characters copied have to put a NUL into buffer + ptr[0] = '\0'; // If no characters copied, have to put a NUL into buffer if (static_cast<int>(wParam) > pdoc->LinesTotal()) { return 0; } @@ -3692,7 +3692,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { return iPlace; } - case SCI_GETLINE: { // Simplier than EM_GETLINE, but with risk of overwritting the end of the buffer + case SCI_GETLINE: { // Simpler than EM_GETLINE, but with risk of overwriting the end of the buffer if (lParam == 0) { return 0; } |