diff options
author | Bewied <unknown> | 2016-01-08 14:42:30 +1100 |
---|---|---|
committer | Bewied <unknown> | 2016-01-08 14:42:30 +1100 |
commit | a30c4477f69d63ef7088b33ae9a62d9ce54a590a (patch) | |
tree | 444babf7d6d1d8feab9cc3d6e73b21bb27a82be2 /src/ScintillaBase.cxx | |
parent | 0cfd4e5ceb4bb9db01403e80f6880cd6ae25a80d (diff) | |
download | scintilla-mirror-a30c4477f69d63ef7088b33ae9a62d9ce54a590a.tar.gz |
Bug [#1801]. Fix spelling.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r-- | src/ScintillaBase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index cb1be4214..b6e2fb333 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -276,7 +276,7 @@ void ScintillaBase::AutoCompleteStart(int lenEntered, const char *list) { } PRectangle rcac; rcac.left = pt.x - ac.lb->CaretFromEdge(); - if (pt.y >= rcPopupBounds.bottom - heightLB && // Wont fit below. + if (pt.y >= rcPopupBounds.bottom - heightLB && // Won't fit below. pt.y >= (rcPopupBounds.bottom + rcPopupBounds.top) / 2) { // and there is more room above. rcac.top = pt.y - heightLB; if (rcac.top < rcPopupBounds.top) { @@ -305,7 +305,7 @@ void ScintillaBase::AutoCompleteStart(int lenEntered, const char *list) { // Make an allowance for large strings in list rcList.left = pt.x - ac.lb->CaretFromEdge(); rcList.right = rcList.left + widthLB; - if (((pt.y + vs.lineHeight) >= (rcPopupBounds.bottom - heightAlloced)) && // Wont fit below. + if (((pt.y + vs.lineHeight) >= (rcPopupBounds.bottom - heightAlloced)) && // Won't fit below. ((pt.y + vs.lineHeight / 2) >= (rcPopupBounds.bottom + rcPopupBounds.top) / 2)) { // and there is more room above. rcList.top = pt.y - heightAlloced; } else { |