# HG changeset patch # User Herman Bloggs # Date 1050198138 0 # Node ID be43e51c523cb4359b6d8089dd42d05a1ecfd662 # Parent c081a81ee01389ed5366c065c7d54daa065cfe83 [gaim-migrate @ 5480] Fix for non aim/icq font size. Previoulsy the POINT_SIZE conversion was being done for all protocols. committer: Tailor Script diff -r c081a81ee013 -r be43e51c523c src/gtkimhtml.c --- a/src/gtkimhtml.c Sat Apr 12 23:31:41 2003 +0000 +++ b/src/gtkimhtml.c Sun Apr 13 01:42:18 2003 +0000 @@ -825,7 +825,10 @@ gtk_text_buffer_apply_tag(imhtml->text_buffer, texttag, &siter, &iter); \ } \ if (fd->size) { \ - texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "size-points", (double)POINT_SIZE(fd->size), NULL); \ + gushort points; \ + /* only do the POINT_SIZE converstion for AIM/ICQ */ \ + points = (strcmp(fd->sml, "AIM/ICQ") == 0) ? POINT_SIZE(fd->size) : fd->size; \ + texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "size-points", (double)points, NULL); \ gtk_text_buffer_apply_tag(imhtml->text_buffer, texttag, &siter, &iter); \ } \ } \