aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-08-14 02:47:25 +0000
committernyamatongwe <devnull@localhost>2001-08-14 02:47:25 +0000
commitb5ce2fb0674a14d01f352390761f654443ac0c4a (patch)
treeddb9cc8395e06d7bbf040fc88bddf2f08f98835d /src
parent38a0d10fa649f7da2c6a62659dfc039f900b3e0c (diff)
downloadscintilla-mirror-b5ce2fb0674a14d01f352390761f654443ac0c4a.tar.gz
Fixed typos in comments.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx4
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;
}