From 855cbb8ab3bbdc47cb6a8375e5d5e49907d64f6a Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 21 Aug 2006 19:42:47 +0000 Subject: [PATCH] Fix infinite loop while expanding tabs to spaces in quoted text. --- exec/fseditor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/fseditor.js b/exec/fseditor.js index b12c6ffcac..7223585b79 100644 --- a/exec/fseditor.js +++ b/exec/fseditor.js @@ -844,6 +844,7 @@ function make_lines(str, attr, nl_is_hardcr) nl[nl.length-1].text+=' '; nl[nl.length-1].attr+=ascii(thisattr); } + spos++; break; default: /* Printable char... may need to wrap */ if(nl[nl.length-1].text.length>79) { /* Need to have wrapped */ -- GitLab