diff options
author | nyamatongwe <devnull@localhost> | 2000-06-13 05:47:20 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-06-13 05:47:20 +0000 |
commit | 4da56223b3ab95289de3a4c2386300bb14c42525 (patch) | |
tree | 48fce03ae99949f319a1ca54d23edbff7c1c69aa | |
parent | ab7254a71812f0fbede718293659ec5c870c5a65 (diff) | |
download | scintilla-mirror-4da56223b3ab95289de3a4c2386300bb14c42525.tar.gz |
Fixed paint bug where last line of document was drawn twice.
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index c6c1e8424..01a201088 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1062,7 +1062,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { rcTextArea.right -= vs.rightMarginWidth; surfaceWindow->SetClip(rcTextArea); //GTimer *tim=g_timer_new(); - while (visibleLine <= cs.LinesDisplayed() && yposScreen < rcArea.bottom) { + while (visibleLine < cs.LinesDisplayed() && yposScreen < rcArea.bottom) { //g_timer_start(tim); //Platform::DebugPrintf("Painting line %d\n", line); |