From 7d6b7f51e5672884f7572aaca8c481c9bd78436e Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 16 Aug 2006 15:52:55 +0000
Subject: [PATCH] Fix longstanding insane "unwrapping last line" bug.  I
 believe that this baby now *WORKS*

Next up... a usefull UI, help, docs, etc.
---
 exec/fseditor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/fseditor.js b/exec/fseditor.js
index f76e4927df..48539ef150 100644
--- a/exec/fseditor.js
+++ b/exec/fseditor.js
@@ -299,7 +299,7 @@ function unwrap_line(l)
 	}
 	if(old_lines!=line.length) {
 		/* We need to redraw everything... line(s) deleted */
-		for(;l>line.length;l++)
+		for(;l<line.length;l++)
 			draw_line(l);
 	}
 	return(ret);
-- 
GitLab