pidgin/gtkimhtml.c

branch
cpw.darkrain42.xmpp.avatars
changeset 26941
f01a88534d49
parent 26655
95790807b4d7
child 26727
b8885bab55ab
equal deleted inserted replaced
26607:6728d0cb7a3c 26941:f01a88534d49
3318 } 3318 }
3319 c++; 3319 c++;
3320 pos++; 3320 pos++;
3321 } else if ((pos == 0 || wpos == 0 || isspace(*(c - 1))) && 3321 } else if ((pos == 0 || wpos == 0 || isspace(*(c - 1))) &&
3322 (len_protocol = gtk_imhtml_is_protocol(c)) > 0 && 3322 (len_protocol = gtk_imhtml_is_protocol(c)) > 0 &&
3323 c[len_protocol] && !isspace(c[len_protocol])) { 3323 c[len_protocol] && !isspace(c[len_protocol]) &&
3324 (c[len_protocol] != '<' || !gtk_imhtml_is_tag(c + 1, NULL, NULL, NULL))) {
3324 br = FALSE; 3325 br = FALSE;
3325 if (wpos > 0) { 3326 if (wpos > 0) {
3326 gtk_text_buffer_insert(imhtml->text_buffer, iter, ws, wpos); 3327 gtk_text_buffer_insert(imhtml->text_buffer, iter, ws, wpos);
3327 ws[0] = '\0'; wpos = 0; 3328 ws[0] = '\0'; wpos = 0;
3328 } 3329 }

mercurial