Mercurial > pidgin
comparison src/conversation.c @ 182:b3b188f057f2
[gaim-migrate @ 192]
fflewddur submitted a patch to fix the twice-font-resize hang.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 26 Apr 2000 16:31:19 +0000 |
parents | 41bd1cd48571 |
children | 8886a34cd9f1 |
comparison
equal
deleted
inserted
replaced
181:f2d631f867a3 | 182:b3b188f057f2 |
---|---|
502 s = gtk_editable_get_chars(GTK_EDITABLE(entry), 0, -1); | 502 s = gtk_editable_get_chars(GTK_EDITABLE(entry), 0, -1); |
503 t = s; | 503 t = s; |
504 while((t = strstr(t, tag))) { | 504 while((t = strstr(t, tag))) { |
505 if (((t-s) < finish) && ((t-s) >= start)) { | 505 if (((t-s) < finish) && ((t-s) >= start)) { |
506 gtk_editable_delete_text(GTK_EDITABLE(entry), (t-s), (t-s) + strlen(tag)); | 506 gtk_editable_delete_text(GTK_EDITABLE(entry), (t-s), (t-s) + strlen(tag)); |
507 t = gtk_editable_get_chars(GTK_EDITABLE(entry), 0, -1); | |
507 } | 508 } |
508 else t++; | 509 else t++; |
509 } | 510 } |
510 g_free(s); | 511 g_free(s); |
511 } | 512 } |