comparison src/gtkimhtml.c @ 10600:9887014b7390

[gaim-migrate @ 12022] lets fix smileys right before html in HEAD too committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Tue, 15 Feb 2005 02:20:27 +0000
parents 0f7452b1f777
children b39d5850883a
comparison
equal deleted inserted replaced
10599:c08097a4b97b 10600:9887014b7390
1464 pos = strchr (t->values->str, *amp); 1464 pos = strchr (t->values->str, *amp);
1465 } 1465 }
1466 else if (*x == '<') /* Because we're all WYSIWYG now, a '<' 1466 else if (*x == '<') /* Because we're all WYSIWYG now, a '<'
1467 * char should only appear as the start of a tag. Perhaps a safer (but costlier) 1467 * char should only appear as the start of a tag. Perhaps a safer (but costlier)
1468 * check would be to call gtk_imhtml_is_tag on it */ 1468 * check would be to call gtk_imhtml_is_tag on it */
1469 return 0; 1469 break;
1470 else 1470 else
1471 pos = strchr (t->values->str, *x); 1471 pos = strchr (t->values->str, *x);
1472 1472
1473 if (pos) 1473 if (pos)
1474 t = t->children [GPOINTER_TO_INT(pos) - GPOINTER_TO_INT(t->values->str)]; 1474 t = t->children [GPOINTER_TO_INT(pos) - GPOINTER_TO_INT(t->values->str)];