From 433eac7844481b8ceda0bae8bf08f6bb623185b0 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 1 Jun 2009 19:09:19 -0400 Subject: More code cleanup. --- mail/e-searching-tokenizer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mail/e-searching-tokenizer.c') diff --git a/mail/e-searching-tokenizer.c b/mail/e-searching-tokenizer.c index 277e80ca19..ed4a01c4c5 100644 --- a/mail/e-searching-tokenizer.c +++ b/mail/e-searching-tokenizer.c @@ -97,7 +97,7 @@ loop: static const gchar *ignored_tags[] = { "B", "I", "FONT", "TT", "EM", /* and more? */}; -static int +static gint ignore_tag (const gchar *tag) { gchar *t = alloca(strlen(tag)+1), c, *out; @@ -533,7 +533,7 @@ output_match(struct _searcher *s, guint start, guint end) /* output highlight/bold */ if (s->flags & SEARCH_BOLD) { - sprintf(b, "%c", (char)TAG_ESCAPE); + sprintf(b, "%c", (gchar)TAG_ESCAPE); append_token(&s->output, b, -1); } if (s->tags) @@ -561,7 +561,7 @@ output_match(struct _searcher *s, guint start, guint end) /* and close bold if we need to */ if (s->flags & SEARCH_BOLD) { - sprintf(b, "%c", (char)TAG_ESCAPE); + sprintf(b, "%c", (gchar)TAG_ESCAPE); append_token(&s->output, b, -1); } } @@ -578,7 +578,7 @@ output_subpending (struct _searcher *s) } /* returns true if a merge took place */ -static int +static gint merge_subpending (struct _searcher *s, gint offstart, gint offend) { gint i; @@ -771,7 +771,7 @@ searcher_peek_token(struct _searcher *s) return tok; } -static int +static gint searcher_pending (struct _searcher *s) { return !(e_dlist_empty(&s->input) && e_dlist_empty(&s->output)); -- cgit v1.2.3