[gaim-migrate @ 1014]

Wed, 18 Oct 2000 21:28:21 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Wed, 18 Oct 2000 21:28:21 +0000
changeset 1004
c4dc44bbbc18
parent 1003
be33487bc33d
child 1005
0e4d84235e8e

[gaim-migrate @ 1014]
arg. i wonder if this works.

src/gtkhtml.c file | annotate | diff | comparison | revisions
--- 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;

mercurial