summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2016-11-24 20:21:19 +0100
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2016-11-24 20:21:19 +0100
commite44832408bb3147826c346872b49de105a4d0e0b (patch)
treec86196c59245508cd97bf830183cbfd8f75e7d70 /st.c
parentfa9a4599720703932d1c4f16b9aeee1f91f96263 (diff)
Revert "Initial font size issue."
This reverts commit 424202798b02554092ba84dd59fb7b79b59b7b75.
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/st.c b/st.c
index 031272f..d6fe58a 100644
--- a/st.c
+++ b/st.c
@@ -3488,9 +3488,6 @@ xloadfonts(char *fontstr, double fontsize)
if (usedfontsize < 0) {
FcPatternGetDouble(dc.font.match->pattern,
FC_PIXEL_SIZE, 0, &fontval);
- FcPatternAddDouble(pattern, FC_PIXEL_SIZE, fontval);
- if (xloadfont(&dc.font, pattern))
- die("st: can't open font %s\n", fontstr);
usedfontsize = fontval;
if (fontsize == 0)
defaultfontsize = fontval;