diff -r be33487bc33d -r c4dc44bbbc18 src/gtkhtml.c
--- a/src/gtkhtml.c Wed Oct 18 02:42:00 2000 +0000
+++ b/src/gtkhtml.c Wed Oct 18 21:28:21 2000 +0000
@@ -2962,7 +2962,7 @@
static int count = 0;
count ++;
while (pos < num && (!isspace(text[pos]) || text[pos] == '\n')) pos++;
- if (pos == num) {
+ if (pos >= num - 1) {
pos = num/2;
while (pos > 0 && (!isspace(text[pos]) || text[pos] == '\n')) pos--;
if (!pos) pos = num / 2;