# HG changeset patch # User Eric Warmenhoven # Date 971904501 0 # Node ID 69c936ca2b04ca32976583845237aaf13bb67f49 # Parent f8f7f3ed2edb6377048dee7a451e99845254f3c8 [gaim-migrate @ 1014] arg. i wonder if this works. committer: Tailor Script diff -r f8f7f3ed2edb -r 69c936ca2b04 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;