changeset 10731:783ca1f1ebdb

[gaim-migrate @ 12333] Patch 4/4 (I forget what patch did what, this branch stuff is confusing me) committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 26 Mar 2005 01:20:31 +0000
parents e84b1ef01905
children c4cb90065e1d
files src/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/util.c	Sat Mar 26 01:18:47 2005 +0000
+++ b/src/util.c	Sat Mar 26 01:20:31 2005 +0000
@@ -1320,7 +1320,7 @@
 					cdata_close_tag = "</style>";
 				}
 				/* Update the index and continue checking after the tag */
-				i = (str2[k] == '<')? k - 1: k;
+				i = (str2[k] == '<' || str2[k] == '\0')? k - 1: k;
 				continue;
 			}
 		}