diff options
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index d6fe5eb6a..61008613d 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3354,6 +3354,9 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {  					        rcClient.right, yposScreen + vs.lineHeight);  					surfaceWindow->Copy(rcCopyArea, from, *pixmapLine);  				} + +				lineWidthMaxSeen = Platform::Maximum( +					    lineWidthMaxSeen, ll->positions[ll->numCharsInLine]);  				//durCopy += et.Duration(true);  			} @@ -3364,8 +3367,6 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {  			yposScreen += vs.lineHeight;  			visibleLine++; -			lineWidthMaxSeen = Platform::Maximum( -			            lineWidthMaxSeen, ll->positions[ll->numCharsInLine]);  			//gdk_flush();  		}  		ll.Set(0); | 
