changeset 1004:69c936ca2b04

[gaim-migrate @ 1014] arg. i wonder if this works. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 18 Oct 2000 21:28:21 +0000
parents f8f7f3ed2edb
children b1572ac4246c
files src/gtkhtml.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;