From 8d63772a7dffe54c6320a70021110e33dfe7c1ba Mon Sep 17 00:00:00 2001 From: Lauris Kaplinski Date: Thu, 24 Aug 2000 03:25:53 +0000 Subject: Unicode in addressbook basically works, including simple searching svn path=/trunk/; revision=4997 --- widgets/text/e-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/text/e-text.c') diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index ea2a655932..ed87f21c95 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -851,7 +851,7 @@ split_into_lines (EText *text) laststart = text->text; cp = text->text; - for (p = unicode_get_utf8 (cp, &unival); line_num < text->num_lines && unival; cp = p, p = unicode_get_utf8 (p, &unival)) { + for (p = unicode_get_utf8 (cp, &unival); p && unival && line_num < text->num_lines; cp = p, p = unicode_get_utf8 (p, &unival)) { gboolean handled = FALSE; if (len == 0) lines->text = cp; -- cgit v1.2.3