comparison src/gtkimhtml.c @ 2705:5f431eefb0f2

[gaim-migrate @ 2718] no, that didn't work well. what's the right fix? god i hate fonts. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 10 Nov 2001 03:50:52 +0000
parents 59b9b9bed67f
children 8074f7ae5d3a
comparison
equal deleted inserted replaced
2704:fee85ed7fc3f 2705:5f431eefb0f2
1926 1926
1927 for (i = 0; fontsize && names [i]; i++) { 1927 for (i = 0; fontsize && names [i]; i++) {
1928 newvals [NAME] = names [i]; 1928 newvals [NAME] = names [i];
1929 1929
1930 if (xflds [PTSZ][0]) { 1930 if (xflds [PTSZ][0]) {
1931 g_snprintf (fs, sizeof (fs), "%d",
1932 font_sizes [MIN (fontsize, MAX_SIZE) - 1] / 10);
1933 newvals [PTSZ] = fs;
1934 newvals [SIZE] = "";
1935 TRY_FONT;
1936
1931 newvals [PTSZ] = xflds [PTSZ]; 1937 newvals [PTSZ] = xflds [PTSZ];
1932 newvals [SIZE] = "";
1933 } else 1938 } else
1934 newvals [SIZE] = xflds [SIZE]; 1939 newvals [SIZE] = xflds [SIZE];
1935 TRY_FONT; 1940 TRY_FONT;
1936 } 1941 }
1937 1942