diff options
| author | nyamatongwe <unknown> | 2000-06-13 05:47:20 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-06-13 05:47:20 +0000 | 
| commit | 115748bb2ea768a391175e6e9b42d73be7c38d78 (patch) | |
| tree | 48fce03ae99949f319a1ca54d23edbff7c1c69aa /src | |
| parent | cfb128d291fbecb2b302e9942d36e9c41256b8a5 (diff) | |
| download | scintilla-mirror-115748bb2ea768a391175e6e9b42d73be7c38d78.tar.gz | |
Fixed paint bug where last line of document was drawn twice.
Diffstat (limited to 'src')
| -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); | 
