# HG changeset patch # User Sean Egan # Date 1030520686 0 # Node ID 66c7cca774f518a47dfde465cf64aecfef093890 # Parent d82f53194f09dad66991b313fe765ed7d95bfc37 [gaim-migrate @ 3508] Thanks, Eric Melski. This patch will make gtkimhtml no longer give up at the shortest match. committer: Tailor Script diff -r d82f53194f09 -r 66c7cca774f5 src/gtkimhtml.c --- a/src/gtkimhtml.c Wed Aug 28 07:24:12 2002 +0000 +++ b/src/gtkimhtml.c Wed Aug 28 07:44:46 2002 +0000 @@ -181,17 +181,14 @@ while (*x) { gchar *pos; - if (t->image) - return len; - if (!t->values) - return 0; + break; pos = strchr (t->values->str, *x); if (pos) t = t->children [(int) pos - (int) t->values->str]; else - return 0; + break; x++; len++; }