pidgin/gtkimhtml.c

branch
next.minor
changeset 25908
c863fcecb7dd
parent 25906
a64c9c871a23
child 26655
95790807b4d7
equal deleted inserted replaced
25907:d601fe848778 25908:c863fcecb7dd
3317 ws[0] = '\0'; wpos = 0; 3317 ws[0] = '\0'; wpos = 0;
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 br = FALSE; 3324 br = FALSE;
3324 if (wpos > 0) { 3325 if (wpos > 0) {
3325 gtk_text_buffer_insert(imhtml->text_buffer, iter, ws, wpos); 3326 gtk_text_buffer_insert(imhtml->text_buffer, iter, ws, wpos);
3326 ws[0] = '\0'; wpos = 0; 3327 ws[0] = '\0'; wpos = 0;
3327 } 3328 }

mercurial