diff pidgin/gtkimhtml.c @ 24272:882a1c4c11b4

merge of '65d5236e936af6170109ef8c5af76c7871b9cc12' and '9b6e1471438c574ac8ca860d5e9866dec4460677'
author Gary Kramlich <grim@reaperworld.com>
date Thu, 30 Oct 2008 03:03:45 +0000
parents b6dc71133eb8
children 8282911d5e17
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Tue Oct 28 04:22:57 2008 +0000
+++ b/pidgin/gtkimhtml.c	Thu Oct 30 03:03:45 2008 +0000
@@ -1974,7 +1974,7 @@
 
 		pos = strchr (t->values->str, *x);
 		if (pos)
-			t = t->children [(unsigned int) pos - (unsigned int) t->values->str];
+			t = t->children [pos - t->values->str];
 		else
 			return;