From 23186be00be5e7b8e8a66ef13f5025e6e7b07fc5 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 14 Aug 2001 02:47:25 +0000 Subject: Fixed typos in comments. --- src/Editor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(lParam); short *pBufSize = reinterpret_cast(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(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; } -- cgit v1.2.3