From d2d0db9469ee6a95408597aa9876ff8ce4634376 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 16 Aug 2006 21:45:07 +0000
Subject: [PATCH] Fix topline adjustment.

---
 exec/fseditor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/fseditor.js b/exec/fseditor.js
index e7a12cee5e..d0c95e9b9f 100644
--- a/exec/fseditor.js
+++ b/exec/fseditor.js
@@ -1223,7 +1223,7 @@ function quote_mode()
 					if(quote_line[i].selected) {
 						line.splice(ypos,0,quote_line[i]);
 						ypos++;
-						if(ypos-topline > lines_on_screen)
+						if(ypos-topline >= lines_on_screen)
 							topline++;
 					}
 				}
-- 
GitLab