pidgin/gtkimhtml.c

changeset 28144
fd25bc3ab207
parent 28077
c2b493e058f1
child 28753
13f3a9f6672f
child 29492
25c9a945380f
equal deleted inserted replaced
28143:5336b40d4636 28144:fd25bc3ab207
2951 font->size = 100; 2951 font->size = 100;
2952 } else if (oldfont) 2952 } else if (oldfont)
2953 font->size = oldfont->size; 2953 font->size = oldfont->size;
2954 else 2954 else
2955 font->size = 3; 2955 font->size = 3;
2956 if ((imhtml->format_functions & (GTK_IMHTML_GROW|GTK_IMHTML_SHRINK))) 2956 if ((imhtml->format_functions & (GTK_IMHTML_GROW|GTK_IMHTML_SHRINK)) && (font->size != 3 || (oldfont && oldfont->size == 3)))
2957 gtk_imhtml_font_set_size(imhtml, font->size); 2957 gtk_imhtml_font_set_size(imhtml, font->size);
2958 g_free(size); 2958 g_free(size);
2959 fonts = g_slist_prepend (fonts, font); 2959 fonts = g_slist_prepend (fonts, font);
2960 } 2960 }
2961 break; 2961 break;

mercurial