diff --git a/exec/textedit.js b/exec/textedit.js index b268712d207a06a1a12c7fc5082eaec2a5231113..e8b0bb0e2a02a719b648a0f00576ba239570689f 100644 --- a/exec/textedit.js +++ b/exec/textedit.js @@ -345,8 +345,7 @@ function get_tvals() { for (i in tvals) { tnames[tvals[i]] = i; } - // TODO: Why is this one higher than the last? - last_entry = tvals.TOTAL_TEXT - 1; + last_entry = tvals.TOTAL_TEXT; } function newmsg(updpos)