diff options
| -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); | 
