X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;fp=st.c;h=a494c7d1dace0578a1a94ca7e8b0c88eef718839;hp=e27daf0b547228a29f71eb2645ea47c9ca7e638d;hb=9494362d0b35dfe2fa22c3e36ed7b2043b2e8a3d;hpb=cf1fcc4d96f9162272003f82839388093c01360e diff --git a/st.c b/st.c index e27daf0..a494c7d 100644 --- a/st.c +++ b/st.c @@ -3398,7 +3398,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) { break; /* We got a default font for a not found glyph. */ if(!charexists && frc[i].flags == frcflags \ - && unicodep == unicodep) { + && frc[i].unicodep == unicodep) { break; } } @@ -3427,7 +3427,6 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) { FcConfigSubstitute(0, fcpattern, FcMatchPattern); - FcPatternPrint(fcpattern); FcDefaultSubstitute(fcpattern); fontpattern = FcFontSetMatch(0, fcsets, 1,